Explorar o código

Dropdown menu max-height (#3102)

Reduce it on big screens
Alexandre Alapetite %!s(int64=5) %!d(string=hai) anos
pai
achega
f98a092566
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  1. 1 1
      p/themes/base-theme/template.css
  2. 1 1
      p/themes/base-theme/template.rtl.css

+ 1 - 1
p/themes/base-theme/template.css

@@ -304,7 +304,7 @@ a.btn {
 }
 
 .dropdown-menu-scrollable {
-	max-height: 75vh;
+	max-height: min(75vh, 50em);
 	overflow-x: hidden;
 	overflow-y: auto;
 }

+ 1 - 1
p/themes/base-theme/template.rtl.css

@@ -304,7 +304,7 @@ a.btn {
 }
 
 .dropdown-menu-scrollable {
-	max-height: 75vh;
+	max-height: min(75vh, 50em);
 	overflow-x: hidden;
 	overflow-y: auto;
 }