FIX: Minor cms updates

This commit is contained in:
Tony Air 2021-06-08 15:00:54 +07:00
parent bad7cba5d7
commit 66cc6949ca
2 changed files with 70 additions and 64 deletions

View File

@ -20,6 +20,7 @@
margin-bottom: 0; margin-bottom: 0;
border: 0; border: 0;
} }
#Form_ItemEditForm_RightGroup_Holder { #Form_ItemEditForm_RightGroup_Holder {
min-width: 20%; min-width: 20%;
padding-bottom: 0; padding-bottom: 0;
@ -53,7 +54,8 @@
// correct scrolls // correct scrolls
body.cms { body.cms {
overflow: hidden; overflow-x: hidden;
flex-direction: column;
} }
// short fields margins/paddings // short fields margins/paddings
@ -61,9 +63,11 @@ body.cms {
.form-group { .form-group {
padding-bottom: 0.5rem; padding-bottom: 0.5rem;
margin-bottom: 0.25rem; margin-bottom: 0.25rem;
.form__field-label { .form__field-label {
font-weight: bold; font-weight: bold;
} }
&:after { &:after {
margin-bottom: 0.25rem; margin-bottom: 0.25rem;
} }
@ -98,7 +102,8 @@ body.cms {
flex: 0 0 100% !important; flex: 0 0 100% !important;
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
> .form-group {
>.form-group {
padding: 0 1rem; padding: 0 1rem;
margin: 0 !important; margin: 0 !important;
flex: 1 1 50%; flex: 1 1 50%;

View File

@ -204,6 +204,7 @@ img {
td { td {
display: flex; display: flex;
flex-direction: column;
&:before { &:before {
content: attr(data-label); content: attr(data-label);