]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
mgr/dashboard: Fix order of table buttons
authorTiago Melo <tmelo@suse.com>
Mon, 11 Feb 2019 15:08:25 +0000 (15:08 +0000)
committerTiago Melo <tmelo@suse.com>
Tue, 12 Feb 2019 09:27:47 +0000 (09:27 +0000)
"float:none" is changing  the order of the table buttons.
By reverting this change and setting .oadatatableactions to "float:left",
we get the same result as intended before.

Signed-off-by: Tiago Melo <tmelo@suse.com>
src/pybind/mgr/dashboard/frontend/src/app/shared/datatable/table/table.component.scss
src/pybind/mgr/dashboard/frontend/src/styles.scss

index 6ee3997ebf8e4dabdb6d72e14677e853f12fde94..a2259c8278cc97aa45d451da431ec78baa078a31 100644 (file)
@@ -56,7 +56,7 @@
   padding: 5px;
   position: relative;
   .oadatatableactions {
-    display: inline-block;
+    float: left;
   }
   ::ng-deep .table-filters {
     float: right;
index 12330538eef62ecb90b5fb985f907dbea1b6efa8..35bed38858d4dc9b00611e2db18a6030282e682d 100644 (file)
@@ -155,9 +155,6 @@ button.btn.btn-label > i.fa {
   /** Add space between icon and text */
   padding-right: 5px;
 }
-.btn-toolbar .btn-group {
-  float: none;
-}
 
 /* Dropdown */
 .dropdown-menu {