AntonLV 2 лет назад
Родитель
Сommit
fe43e99874

+ 1 - 3
modules/boonex/artificer/data/template/system/css/forms.css

@@ -62,9 +62,7 @@ import url(../../../../../../../template/css/forms.css);
     cursor: pointer;
 }
 
-.bx-form-section-header .bx-form-section-title .bx-form-section-info {
-    width: 100%;
-
+.bx-form-section-header .bx-form-section-title span {
     white-space: nowrap;
     text-transform: none;
     font-size: 0.75rem;

+ 1 - 1
studio/template/css/settings.css

@@ -8,7 +8,7 @@
     padding-bottom: 4.5rem;
 }
 #adm-settings-form .bx-form-advanced-wrapper {
-    height: calc(100vh - 12rem);
+    height: calc(100vh - 14rem);
     overflow-y: auto;
 }
 #adm-settings-form .bx-form-advanced-wrapper .bx-form-section-wrapper {

+ 1 - 3
template/css/forms.css

@@ -49,9 +49,7 @@
     cursor: pointer;
 }
 
-.bx-form-section-header .bx-form-section-title .bx-form-section-info {
-    width: 100%;
-
+.bx-form-section-header .bx-form-section-title span {
     white-space: nowrap;
     text-transform: none;
     font-size: 0.75rem;

+ 2 - 2
template/scripts/BxBaseFormView.php

@@ -1100,9 +1100,9 @@ BLAH;
             $aAttrs['class'] .= ' bx-form-collapsable ' . $sClassAddCollapsable;
 
         if (isset($this->aParams['view_mode']) && $this->aParams['view_mode'])
-            $sTitle = '<div class="bx-form-section-title">' . bx_process_output($aInput['caption'], BX_DATA_HTML) . (!empty($aInput['info']) ? '<br /><span>' . bx_process_output($aInput['info']) . '</span>' : '') . '</div>';
+            $sTitle = '<div class="bx-form-section-title">' . bx_process_output($aInput['caption'], BX_DATA_HTML) . (!empty($aInput['info']) ? '<br /><span class="bx-def-font-grayed">' . bx_process_output($aInput['info']) . '</span>' : '') . '</div>';
         else
-            $sTitle = '<div class="bx-form-section-title"><div class="flex justify-between align-center w-full"><a class="flex-1" href="javascript:void(0);">' . bx_process_output($aInput['caption'], BX_DATA_HTML) . '</a><u class="bx-form-section-toggler"><i class="sys-icon chevron-right"></i></u></div>' . (!empty($aInput['info']) ? '<div class="bx-form-section-info bx-def-font-grayed">' . bx_process_output($aInput['info']) . '</div>' : '') . '</div>';
+            $sTitle = '<div class="bx-form-section-title flex justify-between align-center flex-nowrap w-full"><div class="flex-1"><a class="block w-full" href="javascript:void(0);">' . bx_process_output($aInput['caption'], BX_DATA_HTML) . '</a>' . (!empty($aInput['info']) ? '<span class="bx-def-font-grayed block w-full">' . bx_process_output($aInput['info']) . '</span>' : '') . '</div><u class="bx-form-section-toggler"><i class="sys-icon chevron-right"></i></u></div>';
 
         if (isset($aInput['name'])) {
             if (!isset($aInput['tr_attrs']) || !is_array($aInput['tr_attrs']))