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