Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/wp-content/themes/twentytwelve/css/blocks.css
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,7 @@ pre.wp-block-code {
border-spacing: 0;
font-size: 14px;
line-height: 2;
margin: 0 0 20px;
width: 100%;
margin-bottom: 20px;
}

.wp-block-table th {
Expand Down
16 changes: 14 additions & 2 deletions src/wp-content/themes/twentytwelve/css/editor-blocks.css
Original file line number Diff line number Diff line change
Expand Up @@ -307,8 +307,20 @@ p.has-drop-cap:not(:focus)::first-letter {
border-spacing: 0;
font-size: 14px;
line-height: 2;
margin: 0 0 20px;
width: 100%;
margin-bottom: 20px;
}

/* Aligns bottom border when table block is aligned center in editor. */
.wp-block[data-align=center] > .wp-block-table {
clear: both;
width: fit-content;
margin-left: auto;
margin-right: auto;
}

/* Aligns bottom margin when table block is aligned center in editor. */
.wp-block[data-align=center] > .wp-block-table table {
margin-bottom: 24px;
}

.editor-styles-wrapper .has-text-color th {
Expand Down