Browse Source

Move float right to css

Denis K 9 years ago
parent
commit
b21932b01e
2 changed files with 3 additions and 1 deletions
  1. 2 0
      jet/static/jet/css/_content.scss
  2. 1 1
      jet/templates/admin/change_list.html

+ 2 - 0
jet/static/jet/css/_content.scss

@@ -25,11 +25,13 @@
 
 .changeform-object-tools {
   text-align: right;
+  overflow: auto;
 }
 
 ul.object-tools {
   @extend .clear-list;
   margin-bottom: 20px !important;
+  float: right;
 
   li {
     margin-top: 10px;

+ 1 - 1
jet/templates/admin/change_list.html

@@ -40,7 +40,7 @@
   <div id="content-main">
     {% block object-tools %}
       {% if has_add_permission %}
-        <ul class="object-tools fr">
+        <ul class="object-tools">
           {% block object-tools-items %}
             <li>
               {% url cl.opts|admin_urlname:'add' as add_url %}