Skip to content

Commit 467eb04

Browse files
fix: resolve text alignment for blocks
- fix the alignment issue for blocks in query loop post template - fix alignment of title for the whole theme to match the editor and frontend view
1 parent 1e04fc0 commit 467eb04

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

src/wp-content/themes/twentytwenty/assets/css/editor-style-block.css

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,8 +280,10 @@
280280
/* POST TITLE */
281281

282282
.editor-styles-wrapper .wp-block-post-title {
283-
max-width: 1000px;
284283
margin: 0 auto;
284+
}
285+
286+
.editor-styles-wrapper .editor-visual-editor__post-title-wrapper .wp-block-post-title {
285287
text-align: center;
286288
}
287289

@@ -1167,6 +1169,16 @@ hr.wp-block-separator.is-style-dots::before {
11671169

11681170
.editor-styles-wrapper ul.wp-block-post-template {
11691171
padding-left: 0;
1172+
max-width: 100%;
1173+
}
1174+
1175+
.editor-styles-wrapper ul.wp-block-post-template li {
1176+
max-width: 100%;
1177+
width: 100%;
1178+
}
1179+
1180+
.editor-styles-wrapper ul.wp-block-post-template li > * {
1181+
max-width: inherit;
11701182
}
11711183

11721184

0 commit comments

Comments
 (0)