Просмотр исходного кода

#1497 Labels: more compact design for full list

Alex Trofimov 8 лет назад
Родитель
Сommit
d21af2dd83
2 измененных файлов с 5 добавлено и 1 удалено
  1. 4 0
      template/css/forms.css
  2. 1 1
      template/form_field_labels.html

+ 4 - 0
template/css/forms.css

@@ -565,3 +565,7 @@
 .bx-form-value .bx-form-input-autotoken-labels-sel b:after {
     display:none;
 }
+.bx-form-value .bx-form-input-autotoken-labels-sel b {
+    line-height:1.5rem;
+    font-size:85%;
+}

+ 1 - 1
template/form_field_labels.html

@@ -18,7 +18,7 @@
         else if ($(this).parent('#__id__').length) {
             var e = $(this).remove().on('click', fCallack);
             e.find('input').remove();
-            $("#__id__wrapper .bx-form-input-autotoken-labels-sel").append(e);
+            $("#__id__wrapper .bx-form-input-autotoken-labels-sel").prepend(e);
         }
     };
     $("#__id__wrapper b").on('click', fCallack);