Преглед изворни кода

fix: make the navbar dropdown list to take the full viewport

GitOrigin-RevId: c6c6c447c14fa25ad27d73cf3c39d6650fa5e744
Rebeka пре 3 година
родитељ
комит
4adf965180

+ 1 - 1
services/web/frontend/stylesheets/components/navbar.less

@@ -45,12 +45,12 @@
 // content for the user's viewport.
 
 .navbar-collapse {
-  max-height: @navbar-collapse-max-height;
   overflow-x: visible;
   padding-right: @navbar-padding-horizontal;
   padding-left: @navbar-padding-horizontal;
   &:extend(.clearfix all);
   -webkit-overflow-scrolling: touch;
+  height: 100vh;
 
   &.in {
     overflow-y: auto;

+ 0 - 1
services/web/frontend/stylesheets/core/variables.less

@@ -411,7 +411,6 @@
 @navbar-border-radius: 0;
 @navbar-padding-horizontal: floor((@grid-gutter-width / 2));
 @navbar-padding-vertical: ((@navbar-height - @line-height-computed) / 2);
-@navbar-collapse-max-height: 380px;
 
 @navbar-default-color: #fff;
 @navbar-default-bg: @ol-blue-gray-6;

+ 0 - 1
services/web/frontend/stylesheets/variables/all.less

@@ -356,7 +356,6 @@
 @navbar-border-radius: 0;
 @navbar-padding-horizontal: floor((@grid-gutter-width / 2));
 @navbar-padding-vertical: ((@navbar-height - @line-height-computed) / 2);
-@navbar-collapse-max-height: 380px;
 
 @navbar-default-color: #fff;
 @navbar-default-bg: @neutral-90;