Skip to content

Commit

Permalink
Update styles for div (still supporting tables)
Browse files Browse the repository at this point in the history
  • Loading branch information
sabernhardt committed Nov 4, 2023
1 parent 13f621e commit 88f1417
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/wp-admin/css/forms.css
Original file line number Diff line number Diff line change
Expand Up @@ -921,11 +921,14 @@ table.form-table td .updated p {
}

.color-palette {
display: table;
width: 100%;
border-spacing: 0;
border-collapse: collapse;
}
.color-palette .color-palette-shade,
.color-palette td {
display: table-cell;
height: 20px;
padding: 0;
border: none;
Expand Down Expand Up @@ -1589,12 +1592,15 @@ table.form-table td .updated p {
margin-bottom: 0;
}

.form-table .color-palette .color-palette-shade,
.form-table .color-palette td {
display: table-cell;
width: 15px;
height: 30px;
padding: 0;
}

.form-table table.color-palette {
.form-table .color-palette {
margin-right: 10px;
}

Expand Down

0 comments on commit 88f1417

Please sign in to comment.