small fixes
This commit is contained in:
parent
58ac749755
commit
6230edcbec
|
@ -88,7 +88,7 @@
|
|||
|
||||
.component-editor {
|
||||
display: grid;
|
||||
grid-template-columns: 4fr 3fr 5fr;
|
||||
grid-template-columns: 6fr 3fr 4fr;
|
||||
grid-template-rows: auto auto 1fr;
|
||||
grid-gap: 0.5em;
|
||||
grid-template-areas:
|
||||
|
|
|
@ -121,10 +121,12 @@
|
|||
<!-- eslint-enable vue/no-v-html vue/no-v-text-v-html-on-component -->
|
||||
<ComponentPreview
|
||||
class="component-preview"
|
||||
showText="componentHas('Text')"
|
||||
:shadowControl="isShadowTabOpen && editedShadow"
|
||||
:showText="componentHas('Text')"
|
||||
:shadowControl="isShadowTabOpen"
|
||||
:shadow="editedShadow"
|
||||
:previewClass="previewClass"
|
||||
:previewStyle="editorHintStyle"
|
||||
:disabled="!isShadowPresent"
|
||||
@update:shadow="({ axis, value }) => updateProperty(axis, value)"
|
||||
/>
|
||||
</div>
|
||||
|
@ -229,7 +231,7 @@
|
|||
</checkbox>
|
||||
<ShadowControl
|
||||
v-model="editedShadow"
|
||||
:disabled="isShadowPresent"
|
||||
:disabled="!isShadowPresent"
|
||||
:no-preview="true"
|
||||
:separate-inset="shadowSelected === 'avatar' || shadowSelected === 'avatarStatus'"
|
||||
/>
|
||||
|
|
Loading…
Reference in a new issue