Browse Source

[core] Updated main menu responsiveness

Enrico Berti 10 năm trước cách đây
mục cha
commit
bff5a8f

+ 2 - 2
desktop/core/src/desktop/static/desktop/css/hue3.css

@@ -1466,13 +1466,13 @@ a#advanced-btn:hover {
   }
 }
 
-@media (max-width: 1290px) {
+@media (max-width: 1380px) {
   .navigator .hideable {
     display: none;
   }
 }
 
-@media (max-width: 830px) {
+@media (max-width: 950px) {
   .brand {
     display: none;
   }

+ 1 - 1
desktop/core/src/desktop/templates/common_header.mako

@@ -376,7 +376,7 @@ from django.utils.translation import ugettext as _
     % endif
     <li class="dropdown">
       <a title="${ _('Administration') }" rel="navigator-tooltip" href="index.html#" data-toggle="dropdown" class="dropdown-toggle"><i class="fa fa-cogs"></i>&nbsp;<span class="hideable">${user.username}&nbsp;</span><b class="caret"></b></a>
-      <ul class="dropdown-menu">
+      <ul class="dropdown-menu pull-right">
         <li>
           <a href="${ url('useradmin.views.edit_user', username=user.username) }"><i class="fa fa-key"></i>&nbsp;&nbsp;
             % if is_ldap_setup: