Skip to content

Commit 1aec5a4

Browse files
committed
fixup css for popover content
1 parent 16e873d commit 1aec5a4

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

css/global.css

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -234,12 +234,8 @@ page-search svg {
234234

235235
.sidebar-nav {
236236
border: 0;
237-
left: unset;
238-
top: unset;
239-
inset-block: var(--size-8) 0;
240-
inset-inline-end: 0;
237+
inset: var(--size-8) 0 0 auto;
241238
block-size: auto;
242-
margin: 0 auto;
243239
background: var(--surface-1);
244240
box-shadow: var(--shadow-4);
245241
inline-size: var(--size-14);
@@ -340,8 +336,7 @@ page-search svg {
340336

341337
@media (--lg-n-above) {
342338
.sidebar-nav {
343-
display: block;
344-
inset-block-start: 0;
339+
display: block !important;
345340
padding-block: var(--size-9) 1rem;
346341
}
347342

css/index.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ body > footer {
55
}
66

77
.sidebar-nav {
8-
display: none;
8+
display: none !important;
99
}
1010

1111
main {

0 commit comments

Comments
 (0)