Form control locale-chanel label alignment fixed

This commit is contained in:
jitendra 2022-03-16 16:19:32 +05:30
parent c2a14c7cb6
commit 42855c6769
5 changed files with 15 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@ -1,4 +1,4 @@
{
"/js/admin.js": "/js/admin.js?id=7d73f64f6f160ecd8a23",
"/css/admin.css": "/css/admin.css?id=517088acc4e4577fd849"
"/css/admin.css": "/css/admin.css?id=de6e952e15f6f3e5dca3"
}

View File

@ -447,6 +447,16 @@ body {
.locale {
float: right;
color: $role-text-color;
position: relative;
right: 30%;
}
}
&.have-wysiwyg {
label {
.locale {
position: unset;
}
}
}

View File

@ -201,6 +201,8 @@
.control-group label .locale {
float: left;
right: unset;
left: 30%;
}
.multiselect {

View File

@ -132,7 +132,7 @@
@if (view()->exists($typeView = 'admin::catalog.products.field-types.' . $attribute->type))
<div class="control-group {{ $attribute->type }}"
<div class="control-group {{ $attribute->type }} {{ $attribute->enable_wysiwyg ? 'have-wysiwyg' : '' }}"
@if ($attribute->type == 'multiselect') :class="[errors.has('{{ $attribute->code }}[]') ? 'has-error' : '']"
@else :class="[errors.has('{{ $attribute->code }}') ? 'has-error' : '']" @endif>