Skip to content

Commit

Permalink
Tweak tooltips on page footers
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc M. Adkins committed Aug 31, 2024
1 parent 9a98ef3 commit 9fe9341
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmd/server/parts/footer.gohtml
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@
<tr>
<td>
<div class="hover-text">
<span class="tooltip-text">Code Repository</span>
<span class="tooltip-text tooltip-footer-link-offset">Code Repository</span>
<a href="https://github.com/madkins23/go-slog" target="_blank">Repository</a>
</div>
</td>
<td class="center">
<div class="hover-text">
<span class="tooltip-text">Date/time when this data was generated</span>
<span class="tooltip-text tooltip-footer-link-offset" style="width:200px">Date/time when this data was generated</span>
<span class="fixed">{{ $.Timestamp }}</span>
</div>
</td>
<td class="right">
<div class="hover-text">
<span class="tooltip-text">Code Documentation</span>
<span class="tooltip-text tooltip-footer-link-offset">Code Documentation</span>
<a href="https://pkg.go.dev/github.com/madkins23/go-slog" target="_blank">Documentation</a>
</div>
</td>
Expand Down
6 changes: 6 additions & 0 deletions cmd/server/stuff/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -562,6 +562,12 @@ table.warning-data td, th {
width: 150px;
}

.hover-text:hover .tooltip-footer-link-offset {
left: -40px;
top: -40px;
width: 125px;
}

.hover-text label.charts {
/* Duplicate H2 settings */
font-size: 1.5em;
Expand Down

0 comments on commit 9fe9341

Please sign in to comment.