浏览代码

HUE-2772 [filebrowser] Fix alignment of dropdown menus

When the history drop-down menu was introduced it was set to be right-aligned by adjusting the general style, causing all the drop-downs to be right aligned. This commit changes the style adjustment to only target the history button.
Johan Ahlen 10 年之前
父节点
当前提交
333176a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      apps/filebrowser/src/filebrowser/static/filebrowser/css/listdir_components.css

+ 1 - 1
apps/filebrowser/src/filebrowser/static/filebrowser/css/listdir_components.css

@@ -173,7 +173,7 @@
   cursor: default;
 }
 
-.dropdown-menu {
+.history > .dropdown-menu {
   left: inherit;
   right: 0;
 }