|
16 | 16 | <div class="settings"> |
17 | 17 | <ContentSection title="Settings"> |
18 | 18 | <ContentStack title="General"> |
19 | | - <div class="autolayout"> |
20 | | - <div> |
| 19 | + <div class="row"> |
| 20 | + <div class="col-md-6"> |
21 | 21 | <p>Since this editor does not automatically save changes, they must be requested on demand when the updated HTML is needed.</p> |
22 | | - <div class="button-wrapper"> |
23 | | - <RockButton btnType="primary" help="The Email Editor value is only updated on demand. Click this button to get its current value." @click="onGetHtmlClicked">Get HTML</RockButton> |
24 | | - </div> |
| 22 | + <RockButton btnType="primary" help="The Email Editor value is only updated on demand. Click this button to get its current value." @click="onGetHtmlClicked">Get HTML</RockButton> |
25 | 23 | </div> |
26 | 24 |
|
27 | | - <Switch v-model="ltr" |
28 | | - help="Enable left-to-right layout for the editor and side panel." |
29 | | - label="Left to Right" |
30 | | - :text="ltr ? 'Yes' : 'No'" /> |
| 25 | + <div class="col-md-6"> |
| 26 | + <Switch v-model="ltr" |
| 27 | + help="Enable left-to-right layout for the editor and side panel." |
| 28 | + label="Left to Right" |
| 29 | + :text="ltr ? 'Yes' : 'No'" /> |
| 30 | + </div> |
31 | 31 | </div> |
32 | 32 | </ContentStack> |
33 | 33 |
|
34 | 34 | <ContentStack title="Blocks > Paragraph"> |
35 | | - <div class="autolayout"> |
36 | | - <ValueList v-model="mergeFields" |
37 | | - label="Merge Fields" |
38 | | - help="The merge fields that are available for selection in the Merge Field toolbar button of the Paragraph block. If this is not set, then the Merge Field button will be hidden in the editor toolbar." /> |
| 35 | + <div class="row"> |
| 36 | + <div class="col-md-6"> |
| 37 | + <ValueList v-model="mergeFields" |
| 38 | + label="Merge Fields" |
| 39 | + help="The merge fields that are available for selection in the Merge Field toolbar button of the Paragraph block. If this is not set, then the Merge Field button will be hidden in the editor toolbar." /> |
| 40 | + </div> |
39 | 41 | </div> |
40 | 42 | </ContentStack> |
41 | 43 |
|
42 | 44 | <ContentStack title="Styles > Body Settings"> |
43 | | - <CheckBoxList v-model="simulateValues" |
44 | | - label="Simulate" |
45 | | - :items="simulateOptions" |
46 | | - horizontal |
47 | | - :repeatColumns="4" /> |
| 45 | + <div class="row"> |
| 46 | + <div class="col-md-6"> |
| 47 | + <CheckBoxList v-model="simulateValues" |
| 48 | + label="Simulate" |
| 49 | + :items="simulateOptions" |
| 50 | + horizontal |
| 51 | + :repeatColumns="4" /> |
| 52 | + </div> |
| 53 | + </div> |
48 | 54 | </ContentStack> |
49 | 55 | </ContentSection> |
50 | 56 | </div> |
|
58 | 64 | height: 600px; |
59 | 65 | } |
60 | 66 |
|
61 | | -.button-wrapper { |
62 | | - display: flex; |
63 | | - align-items: center; |
64 | | -} |
65 | | - |
66 | 67 | .settings { |
67 | 68 | max-height: 350px; |
68 | 69 | overflow: auto; |
69 | 70 | } |
70 | | - |
71 | | -.autolayout { |
72 | | - display: grid; |
73 | | - grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); |
74 | | - column-gap: var(--spacing-small); |
75 | | -} |
76 | 71 | </style> |
77 | 72 |
|
78 | 73 | <script setup lang="ts"> |
|
0 commit comments