projects
/
pwl6.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b2e0c7
)
Rebalance titles in overlays.
author
Joe Wreschnig
<joe.wreschnig@gmail.com>
Sun, 2 Aug 2015 14:16:42 +0000
(16:16 +0200)
committer
Joe Wreschnig
<joe.wreschnig@gmail.com>
Sun, 2 Aug 2015 14:16:42 +0000
(16:16 +0200)
src/yuu/data/yuu.css
patch
|
blob
|
history
diff --git
a/src/yuu/data/yuu.css
b/src/yuu/data/yuu.css
index 6c31d1267855c741995ecbbf95715202fa4496b1..4765449953a4d13313efdac1c72b68f72d3d5e05 100644
(file)
--- a/
src/yuu/data/yuu.css
+++ b/
src/yuu/data/yuu.css
@@
-234,8
+234,14
@@
div[data-yuu-command=dismiss] {
height: 1.25em;
text-align: center;
margin-left: -1.3333em;
- position: sticky;
top: 0;
+ position: sticky;
+ /* What's really wanted here is 'position: fixed within within the
+ parent' but that's not a thing. position: sticky is close
+ except it leaves it in normal layout flow, which requires
+ another hack... */
+ margin-bottom: -1em;
+ /* Don't take up so much vertical space during layout */
}
div[data-yuu-command=dismiss]:after {