projects
/
working
/
eg-antora.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f0616a
)
simplify selector for active nav item toggle and clear padding
author
Dan Allen
<dan@opendevise.com>
Tue, 29 Mar 2022 21:47:55 +0000
(15:47 -0600)
committer
Dan Allen
<dan@opendevise.com>
Tue, 29 Mar 2022 21:47:55 +0000
(15:47 -0600)
src/css/nav.css
patch
|
blob
|
history
diff --git
a/src/css/nav.css
b/src/css/nav.css
index
e4e8dfd
..
ba28ea0
100644
(file)
--- a/
src/css/nav.css
+++ b/
src/css/nav.css
@@
-134,6
+134,7
@@
html.is-clipped--nav {
border: none;
outline: none;
line-height: inherit;
+ padding: 0;
position: absolute;
height: calc(var(--nav-line-height) * 1em);
width: calc(var(--nav-line-height) * 1em);
@@
-141,7
+142,7
@@
html.is-clipped--nav {
margin-left: calc(var(--nav-line-height) * -1em);
}
-.
nav-item.
is-active > .nav-item-toggle {
+.is-active > .nav-item-toggle {
transform: rotate(90deg);
}