Updated header img uploader and disabled states in email design settings

This commit is contained in:
Sanne de Vries 2021-06-08 09:38:38 +02:00
parent e1ce503e72
commit b933a5e82f
2 changed files with 8 additions and 4 deletions

View File

@ -75,7 +75,7 @@
</GhFormGroup>
<GhFormGroup>
<h4 class="modal-fullsettings-title">Show publication icon</h4>
<h4 class="modal-fullsettings-title {{if (not this.settings.icon) "disabled"}}">Show publication icon</h4>
<div class="for-switch small {{if (not this.settings.icon) "disabled"}}">
<label class="switch" for="show-header">
<input

View File

@ -393,6 +393,10 @@
margin: 0 12px 0 0;
}
.labs-newsletter-settings .modal-fullsettings-title.disabled {
opacity: .5;
}
.labs-newsletter-settings .modal-fullsettings-uploader {
display: flex;
align-items: center;
@ -430,13 +434,13 @@
}
.labs-newsletter-settings .gh-header-img-container {
height: 44px;
height: 50px;
}
.labs-newsletter-settings .gh-header-img-thumbnail {
display: inline-block;
width: 56px;
height: 44px;
height: 50px;
margin: 0 11px 0 0;
border: 1px solid var(--whitegrey);
cursor: pointer;
@ -453,7 +457,7 @@
position: absolute;
left: 4px;
width: 56px;
height: 44px;
height: 50px;
background: var(--black) !important;
opacity: 0;
}