Skip to content

Commit

Permalink
fix: css for label style and dashboard link (#1136)
Browse files Browse the repository at this point in the history
* fix the css for toc-label and make re-usable as a .label class
* fix: css for dashboard audit links

fixes #1135

License: MIT
Signed-off-by: Oli Evans <oli@tableflip.io>
  • Loading branch information
olizilla authored Sep 2, 2020
1 parent 847b49c commit b6d4257
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 2 deletions.
7 changes: 7 additions & 0 deletions assets/_custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,13 @@
outline: none;
}

.label {
font-size: 10px;
font-weight: 700;
display: block;
color:$gray-600;
}

// Tweaks
html {
scroll-behavior: auto;
Expand Down
5 changes: 5 additions & 0 deletions assets/_dashboard.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ table.Dashboard {
th:first-child {
width: 50%;
}
.gg-external {
display: inline-block;
margin-left: 3px;
vertical-align: text-top;
}
}

.Dashboard tr th,
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/docs/toc.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="toc">
<p class="toc-label"><i class="gg-menu-motion"></i> CONTENTS</p>
<p class="label"><i class="gg-menu-motion"></i> CONTENTS</p>
{{ .TableOfContents }}
</div>
2 changes: 1 addition & 1 deletion layouts/partials/single/menu-single.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div class="toc">
<div class="toc-control">
<p class="toc-label">TABLE OF CONTENTS</p>
<p class="label">TABLE OF CONTENTS</p>
<input title="Adjust the depth of the toc" id="toc-depth-slider" type="range" step="1" min="1" max="5" value="2" style="width:174px" />
</div>
</div>

0 comments on commit b6d4257

Please sign in to comment.