mirror of
https://fast.feibisi.com/https://github.com/parcelvoy/platform.git
synced 2025-08-29 11:56:04 +08:00
Tweaks email editor
This commit is contained in:
parent
019d7f1f01
commit
97338c8cd9
4 changed files with 20 additions and 18 deletions
|
@ -63,6 +63,7 @@
|
|||
|
||||
.modal.fullscreen .modal-content {
|
||||
flex-grow: 1;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.modal-inner .modal-header h3 {
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
.email-editor {
|
||||
height: 100vh;
|
||||
background: var(--color-background);
|
||||
position: fixed;
|
||||
position: absolute;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
grid-template-rows: 60px auto auto;
|
||||
|
|
|
@ -168,20 +168,22 @@ export default function EmailEditor() {
|
|||
open
|
||||
onClose={() => navigate(`../campaigns/${campaign.id}/design`)}
|
||||
>
|
||||
<Tabs
|
||||
selectedIndex={selectedIndex}
|
||||
onChange={setSelectedIndex}
|
||||
tabs={tabs}
|
||||
append={
|
||||
<Button
|
||||
size="small"
|
||||
variant="secondary"
|
||||
onClick={() => setIsAddLocaleOpen(true)}
|
||||
>
|
||||
{'Add Locale'}
|
||||
</Button>
|
||||
}
|
||||
/>
|
||||
<section className="email-editor">
|
||||
<Tabs
|
||||
selectedIndex={selectedIndex}
|
||||
onChange={setSelectedIndex}
|
||||
tabs={tabs}
|
||||
append={
|
||||
<Button
|
||||
size="small"
|
||||
variant="secondary"
|
||||
onClick={() => setIsAddLocaleOpen(true)}
|
||||
>
|
||||
{'Add Locale'}
|
||||
</Button>
|
||||
}
|
||||
/>
|
||||
</section>
|
||||
</Modal>
|
||||
<CreateLocaleModal
|
||||
open={isAddLocaleOpen}
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
}
|
||||
|
||||
.image-gallery .image img {
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue