projects
/
software
/
mumi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
951e6f3
)
css: Add scroll-padding-top to html tag.
author
Ricardo Wurmus
<rekado@elephly.net>
Thu, 9 Dec 2021 17:16:45 +0000
(18:16 +0100)
committer
Ricardo Wurmus
<rekado@elephly.net>
Thu, 9 Dec 2021 17:16:45 +0000
(18:16 +0100)
This fixes the scroll position of *all* anchors, not just the
message-anchor.
assets/css/screen.css
patch
|
blob
|
history
diff --git
a/assets/css/screen.css
b/assets/css/screen.css
index 5d8513d9aef63a976546786ff27918696a7e3fe9..df8aec39117ee831b7e273dd23a5b1e0dc960a78 100644
(file)
--- a/
assets/css/screen.css
+++ b/
assets/css/screen.css
@@
-1,3
+1,7
@@
+html {
+ scroll-padding-top: 70px; /* height of sticky header */
+}
+
html, body {
background-color: #fff;
width: 100%;
@@
-175,7
+179,6
@@
table {
a.message-anchor {
display: block;
position: relative;
- top: -80px;
visibility: hidden;
}