Skip to content

Commit

Permalink
minor ui cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
janoside committed Apr 24, 2022
1 parent 06ae197 commit 18d737f
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions public/scss/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,10 @@ code, .font-json, .font-data, .font-plaintext {
margin-bottom: 0 !important;
}

.summary-row:last-child {
margin-bottom: 0 !important;
}



/*.nav-tabs .nav-link.active {
Expand Down
2 changes: 1 addition & 1 deletion public/style/dark.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/style/light.css

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions views/includes/shared-mixins.pug
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
mixin themeCss
link(id="light-theme-link-tag", rel="stylesheet", href=`./style/light.css?v=${cacheId}`, integrity="sha384-G+XehzyDofsc9ZlqIF7hYXsaYijKshaTro74HxGnvEmvNiv2lRjGxO8g8HShNBQG")
link(id="dark-theme-link-tag", rel=(userSettings.uiTheme == "dark" ? "stylesheet" : false), href=`./style/dark.css?v=${cacheId}`, integrity="sha384-xjIBl325k0VYsT0wAem/8jzIxea9FDLsVmHZG8STGMhLu+rDq/xlWxo/iR6oJQ6w")
link(id="light-theme-link-tag", rel="stylesheet", href=`./style/light.css?v=${cacheId}`, integrity="sha384-pVyltRErny1kThw+BcjtLDkOEpGLSf8/1bsyqimIIA7fuoAobGDW8UfstUY8uWYZ")
link(id="dark-theme-link-tag", rel=(userSettings.uiTheme == "dark" ? "stylesheet" : false), href=`./style/dark.css?v=${cacheId}`, integrity="sha384-A2fwoNoA4lHJfgim7XUOLsWNI5V2MKx17vQ1Wn0vPdwVjhNZ21jWAh3KYxq2gsKG")


mixin sharedScriptTags
Expand Down Expand Up @@ -81,7 +81,7 @@ mixin summaryRow(itemCount)

//h1 #{itemCount} #{JSON.stringify(locals.rowCounts)}
.row.row-cols-1(class=utils.objectProperties(locals.colCounts).map(x => `row-cols-${x}-${locals.colCounts[x]}`).join(" "))
.row.row-cols-1.summary-row(class=utils.objectProperties(locals.colCounts).map(x => `row-cols-${x}-${locals.colCounts[x]}`).join(" "))
block


Expand Down

0 comments on commit 18d737f

Please sign in to comment.