diff options
author | 2021-07-26 13:41:32 -0700 | |
---|---|---|
committer | 2021-07-26 13:41:32 -0700 | |
commit | 60a2755c0a93d158fa030ae9883327190b67d190 (patch) | |
tree | 741e5bc95f24e1859d44d427319dbf8e63918fb6 /docs/src/components/SiteSidebar.astro | |
parent | 23735c53cc59e489cf1d0f528a97c2ce535d0a21 (diff) | |
download | astro-60a2755c0a93d158fa030ae9883327190b67d190.tar.gz astro-60a2755c0a93d158fa030ae9883327190b67d190.tar.zst astro-60a2755c0a93d158fa030ae9883327190b67d190.zip |
some docs site polish (#853)
* some docs polish
* attempt to fix theme toggle
Diffstat (limited to 'docs/src/components/SiteSidebar.astro')
-rw-r--r-- | docs/src/components/SiteSidebar.astro | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/docs/src/components/SiteSidebar.astro b/docs/src/components/SiteSidebar.astro index 6503c0414..382b122f4 100644 --- a/docs/src/components/SiteSidebar.astro +++ b/docs/src/components/SiteSidebar.astro @@ -47,7 +47,7 @@ const {currentPage} = Astro.props; } .nav-groups > :first-child { - padding-top: 2rem; + padding-top: var(--doc-padding); } .nav-groups > :last-child { @@ -87,21 +87,10 @@ const {currentPage} = Astro.props; color: hsla(var(--color-base-white), 100%, 1); } - @media (min-width: 60em) { - .nav-link a { - border-radius: 999px; - border-top-left-radius: 0; - border-bottom-left-radius: 0; - } + @media (min-width: 50em) { .nav-groups { padding: 0; } } - @media (min-width: 86.25em) { - .nav-link a { - border-radius: 8px; - } - } - </style> |