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

Ticket #5282 - Layout fixes and improvements.

AntonLV 11 месяцев назад
Родитель
Сommit
239a659357

+ 1 - 1
modules/base/groups/template/unit_meta_item.html

@@ -19,6 +19,6 @@
     </span>
 </bx_if:sbutton>
 <bx_if:custom>
-    <span class="bx-base-profile-unit-meta-item">__content__</span>
+    <span class="bx-base-profile-unit-meta-item px-1">__content__</span>
 </bx_if:custom>
 <bx_if:nl></bx_if:nl>

+ 4 - 10
modules/boonex/artificer/data/template/mod_text/css/main.css

@@ -125,15 +125,9 @@
     -webkit-align-items: center;
     align-items: center;
 }
-.bx-dir-ltr .sys-author-info .sys-author-profile ul.bx-menu-custom.bx-menu-custom-hor > li {
-    margin-left: 1rem;
-}
-.bx-dir-ltr .sys-author-info .sys-author-profile ul.bx-menu-custom.bx-menu-custom-hor > li:first-child {
-    margin-left: 0;
+.bx-dir-ltr .sys-author-info .sys-author-profile ul.bx-menu-custom.bx-menu-custom-hor {
+    margin: 0 -0.25rem;
 }
-.bx-dir-rtl .sys-author-info .sys-author-profile ul.bx-menu-custom.bx-menu-custom-hor > li {
-    margin-right: 1rem;
-}
-.bx-dir-rtl .sys-author-info .sys-author-profile ul.bx-menu-custom.bx-menu-custom-hor > li:first-child {
-    margin-right: 0;
+.bx-dir-ltr .sys-author-info .sys-author-profile ul.bx-menu-custom.bx-menu-custom-hor > li {
+    margin: 0.25rem;
 }

+ 5 - 1
template/category_list.html

@@ -1,6 +1,10 @@
 <div class="bx-category-list space-y-1">
     <bx_if:show_all>
-        <div class="bx-category-list-item"><a href="__url__">__name__</a></div>
+        <div class="bx-category-list-item bx-stl-mil-wo-gaps">
+            <a class="bx-stl-mil-gaps flex items-center" href="__url__">
+                <span class="bx-cli-text bx-stl-mit">__name__</span>
+            </a>
+        </div>
     </bx_if:show_all>
     <bx_repeat:cats>
         <div class="bx-category-list-item __selected_class__ bx-stl-mil-wo-gaps">