Fix horizontal scrolling for category nav
This commit is contained in:
1 parent
8bbaa251b9
commit
605236cbec
2 files changed
+4
-1
No files matched your search
@@ -1,5 +1,6 @@
|
||||
.category-nav {
|
||||
width: 100%;
|
||||
box-shadow: inset 0px -1px 0px var(--border-muted);
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
overflow-x: scroll;
|
||||
}
|
||||
@@ -104,6 +104,8 @@ const { site, title, tagline } = Astro.props;
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
width: 100%;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
main,
|
||||
.container {
|
||||
|
||||
Reference in new issue
Block a user