Commit 3e62452b2f

3e62452b2f5893075782f79f3bbcd755606fcf19

parent: 18ccbf2fba

Unsigned

Duck <57977673+woducku@users.noreply.github.com> · 2026-11-09 08:48 UTC

Update style.scss

Layout: unified · split

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