Explorar el Código

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

webwww123 hace 6 meses
padre
commit
b523998329
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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) {