Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bundled Theme: Update selector for table block in Twenty Seventeen. #8090

Open
wants to merge 1 commit into
base: trunk
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions src/wp-content/themes/twentyseventeen/assets/css/editor-blocks.css
Original file line number Diff line number Diff line change
Expand Up @@ -667,49 +667,49 @@ figure.wp-block-pullquote blockquote {

/* Table */

table.wp-block-table {
figure.wp-block-table table {
border-collapse: collapse;
margin: 0 0 1.5em;
width: 100%;
}

table.wp-block-table thead th {
figure.wp-block-table table thead th {
border: 0;
border-bottom: 2px solid #bbb;
padding-bottom: 0.5em;
}

table.wp-block-table th {
figure.wp-block-table table th {
padding: 0.4em;
text-align: left;
}

table.wp-block-table tr {
figure.wp-block-table table tr {
border-bottom: 1px solid #eee;
}

table.wp-block-table th,
table.wp-block-table td {
figure.wp-block-table table th,
figure.wp-block-table table td {
border: 0;
padding: 0.4em;
}

table.wp-block-table th:first-child,
table.wp-block-table td:first-child {
figure.wp-block-table table th:first-child,
figure.wp-block-table table td:first-child {
padding-left: 0;
}

table.wp-block-table th:last-child,
table.wp-block-table td:last-child {
figure.wp-block-table table th:last-child,
figure.wp-block-table table td:last-child {
padding-right: 0;
}

.wp-block-table__cell-content {
padding: 0;
}

.rtl table.wp-block-table th,
.rtl table.wp-block-table td {
.rtl figure.wp-block-table table th,
.rtl figure.wp-block-table table td {
text-align: right;
}

Expand Down
Loading