Browse Source

HUE-7704 [frontend] Fix wrong alignment of share dropdown options

Enrico Berti 8 years ago
parent
commit
386784299d

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

@@ -57,7 +57,7 @@ from django.utils.translation import ugettext as _
           <a id="documentShareCaret" class="btn dropdown-toggle disabled" data-toggle="dropdown">
             <span class="caret"></span>
           </a>
-          <ul class="dropdown-menu">
+          <ul class="dropdown-menu pull-right">
             <li><a data-bind="click: changeDocumentSharePerm.bind(null, 'read')" href="javascript:void(0)">${ _('Read') }</a></li>
             <li><a data-bind="click: changeDocumentSharePerm.bind(null, 'write')" href="javascript:void(0)">${ _('Read and Modify') }</a></li>
           </ul>

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

@@ -57,7 +57,7 @@ from django.utils.translation import ugettext as _
           <a id="documentShareCaret" class="btn dropdown-toggle disabled" data-toggle="dropdown">
             <span class="caret"></span>
           </a>
-          <ul class="dropdown-menu">
+          <ul class="dropdown-menu pull-right">
             <li><a data-bind="click: changeDocumentSharePerm.bind(null, 'read')" href="javascript:void(0)">${ _('Read') }</a></li>
             <li><a data-bind="click: changeDocumentSharePerm.bind(null, 'write')" href="javascript:void(0)">${ _('Read and Modify') }</a></li>
           </ul>