Browse Source

fix(docs): avoid footer language selector truncation (#13124)

webwww123 2 weeks ago
parent
commit
b523998329
1 changed files with 2 additions and 1 deletions
  1. 2 1
      packages/web/src/components/Footer.astro

+ 2 - 1
packages/web/src/components/Footer.astro

@@ -110,7 +110,8 @@ const discord = config.social?.find((item) => item.icon === "discord")
   }
   }
 
 
   .doc :global(starlight-lang-select select) {
   .doc :global(starlight-lang-select select) {
-    min-width: 7em;
+    min-width: 18ch;
+    max-width: min(100%, 20rem);
   }
   }
 
 
   @media (min-width: 30rem) {
   @media (min-width: 30rem) {