Skip to content

Commit 362a805

Browse files
committed
fix: UI changes
1 parent 9f1c2dd commit 362a805

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

src/welcome/admin.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -991,7 +991,7 @@ const Blocks = props => {
991991
{ groupLength <= 0 ? (
992992
<h3>{ __( 'No matching settings', i18n ) }</h3>
993993
) : (
994-
<>
994+
<div className="s-setting-group">
995995
<h2>{ __( 'Blocks', i18n ) }</h2>
996996
<p className="s-settings-subtitle">{ __( 'Here you can enable, hide and disable Stackable blocks. Hiding blocks will hide the block from the list of available blocks. Disabling blocks will prevent them from being registered at all. When using block variations or design library patterns, disabled blocks will be substituted with the relevant core blocks.', i18n ) }</p>
997997
<div className="s-settings-header">
@@ -1055,7 +1055,7 @@ const Blocks = props => {
10551055
</div>
10561056
)
10571057
} ) }
1058-
</>
1058+
</div>
10591059
) }
10601060
</div>
10611061
</>
@@ -1398,7 +1398,7 @@ const AdditionalOptions = props => {
13981398
}
13991399
{ migrationSettings.children.length > 0 &&
14001400
<div className="s-setting-group">
1401-
<h3>{ __( 'Migration Settings', i18n ) }</h3>
1401+
<h2>{ __( 'Migration Settings', i18n ) }</h2>
14021402
<p>{ __( 'After enabling the version 2 blocks, please refresh the page to re-fetch the blocks from the server.', i18n ) }</p>
14031403
<p>
14041404
{ __( 'Migrating from version 2 to version 3?', i18n ) }

src/welcome/admin.scss

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ body[class*="page_stk-"] {
165165
margin-right: -50px;
166166
}
167167
.s-settings-subtitle {
168-
width: 75%;
168+
width: calc(95% - 250px);
169169
margin: 0.5em 0 40px;
170170
}
171171
.s-settings-field,
@@ -187,7 +187,7 @@ body[class*="page_stk-"] {
187187
}
188188

189189
.s-settings-field__status {
190-
width: 40px;
190+
min-width: 40px;
191191
display: inline-block;
192192
vertical-align: middle;
193193
svg {
@@ -244,9 +244,13 @@ body[class*="page_stk-"] {
244244
.s-icon-kit-settings-field > p {
245245
margin-left: calc(var(--label-width) + 40px);
246246
}
247+
.s-integrations .ugb-admin-setting__field,
247248
.s-icon-settings-fa-version .ugb-admin-setting__field {
248249
margin-left: 40px;
249250
}
251+
.s-integrations .ugb-admin-setting__help {
252+
padding-left: 40px;
253+
}
250254
.s-icon-settings-fa-pro-version .ugb-admin-setting__field p {
251255
margin-left: 20px;
252256
}
@@ -932,12 +936,8 @@ body.toplevel_page_stk-custom-fields {
932936
margin-top: 0;
933937
margin-left: 32px;
934938
}
935-
h3 {
936-
margin-top: 2em;
937-
}
938939
p {
939940
margin-bottom: 2em;
940-
margin-top: -0.5em;
941941
}
942942
}
943943

0 commit comments

Comments
 (0)