Procházet zdrojové kódy

Ticket #3629 - Buttons in Join/Login blocks.

AntonLV před 4 roky
rodič
revize
4780c44ae6

+ 1 - 1
modules/boonex/artificer/data/template/system/block_join.html

@@ -3,7 +3,7 @@
 <bx_if:show_login>
     <hr class="bx-def-hr my-4" />
     <div class="sys-jf-login">
-        <a class="bx-btn w-full text-center" href="__url__"><bx_text:_sys_txt_join_description_action /></a>
+        <a class="bx-btn w-full justify-center text-center" href="__url__"><bx_text:_sys_txt_join_description_action /></a>
     </div>
 </bx_if:show_login>
 <div class="sys-jf-agreement -mx-4">

+ 1 - 1
modules/boonex/artificer/data/template/system/block_login.html

@@ -5,7 +5,7 @@ __custom_html_after__
 <bx_if:show_join>
     <hr class="bx-def-hr my-4" />
     <div class="sys-lf-join">
-        <a class="bx-btn w-full text-center" href="__url__"><bx_text:_sys_txt_login_description_action /></a>
+        <a class="bx-btn w-full justify-center text-center" href="__url__"><bx_text:_sys_txt_login_description_action /></a>
     </div>
 </bx_if:show_join>
 <div class="sys-lf-agreement -mx-4">

+ 2 - 0
modules/boonex/artificer/data/template/system/css/general.css

@@ -66,6 +66,8 @@ import url(../../../../../../../template/css/general.css);
 #sys_account .bx-form-element .bx-form-input-submit.bx-btn,
 #sys-form-login .bx-form-element .bx-form-input-submit.bx-btn {
     width: 100%;
+    -webkit-justify-content: center;
+    justify-content: center;
     text-align: center;
 }
 #bx-form-element-submit_text .bx-form-value {

+ 2 - 0
template/css/general.css

@@ -400,6 +400,8 @@ div.bx-account-unit-online {
 #sys_account .bx-form-element .bx-form-input-submit.bx-btn,
 #sys-form-login .bx-form-element .bx-form-input-submit.bx-btn {
     width: 100%;
+    -webkit-justify-content: center;
+    justify-content: center;
     text-align: center;
 }
 #bx-form-element-submit_text .bx-form-value {