Commit 3e62452b2f
Unsigned
Layout: unified · split
docs/.vitepress/theme/styles/style.scss +13 −3
| @@ -896,13 +896,19 @@ table tbody th[rowspan] { | ||
| 896 | 896 | .VPLocalNav { |
| 897 | 897 | @apply bg-transparent! border-0!; |
| 898 | 898 | |
| 899 | pointer-events: none; | |
| 900 | ||
| 899 | 901 | & > .container { |
| 900 | 902 | @apply relative flex bg-transparent mx-auto px-4 sm:px-6 md:px-0 lg:px-0 |
| 901 | 903 | py-0 mt-2; |
| 902 | 904 | max-width: 688px; |
| 903 | 905 | |
| 906 | pointer-events: none; | |
| 907 | ||
| 904 | 908 | & > .menu { |
| 905 | 909 | @apply p-0; |
| 910 | ||
| 911 | pointer-events: auto; | |
| 906 | 912 | } |
| 907 | 913 | |
| 908 | 914 | & > .menu, |
| @@ -914,6 +920,8 @@ table tbody th[rowspan] { | ||
| 914 | 920 | & > .VPLocalNavOutlineDropdown { |
| 915 | 921 | @apply p-0 ml-auto; |
| 916 | 922 | |
| 923 | pointer-events: auto; | |
| 924 | ||
| 917 | 925 | & > .items { |
| 918 | 926 | @apply top-10 right-4 md:right-0 max-w-[calc(100%-32px)] sm:max-w-sm |
| 919 | 927 | bg-white/75! dark:bg-neutral-800/75! p-1 rounded-2xl border |
| @@ -1002,10 +1010,10 @@ table tbody th[rowspan] { | ||
| 1002 | 1010 | & > *:not(.VPNavBarSearch) { |
| 1003 | 1011 | pointer-events: auto; |
| 1004 | 1012 | } |
| 1005 | } | |
| 1006 | 1013 | |
| 1007 | & > .wrapper > .container > .content > .content-body > .VPNavBarSearch { | |
| 1008 | pointer-events: none; | |
| 1014 | & > .VPNavBarSearch { | |
| 1015 | pointer-events: none; | |
| 1016 | } | |
| 1009 | 1017 | } |
| 1010 | 1018 | |
| 1011 | 1019 | & > .divider { |
| @@ -1455,6 +1463,8 @@ table tbody th[rowspan] { | ||
| 1455 | 1463 | // Search lives in the nav pill, which now shows on phones too. |
| 1456 | 1464 | #local-search { |
| 1457 | 1465 | @apply hidden!; |
| 1466 | ||
| 1467 | pointer-events: auto; | |
| 1458 | 1468 | } |
| 1459 | 1469 | |
| 1460 | 1470 | // Nav list is empty and settings live in the pill's gear (which opens its own |