mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-08 20:01:12 +01:00
1de40f71be
This patch, somewhat small brings a lot to WordPress. This includes features like: - DataViews. - Customization tools like box shadow, background size and repeat. - UI improvements in the site editor. - Preferences sharing between the post and site editors. - Unified panels and editors between post and site editors. - Improved template mode in the post editor. - Iterations to multiple interactive blocks. - Preparing the blocks and UI for pattern overrides. - and a lot more. Props luisherranz, gziolo, isabel_brison, costdev, jonsurrell, peterwilsoncc, get_dave, antonvlasenko, desrosj. See #60315. Built from https://develop.svn.wordpress.org/trunk@57377 git-svn-id: http://core.svn.wordpress.org/trunk@56883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
44 lines
1.6 KiB
CSS
44 lines
1.6 KiB
CSS
.wp-block[data-align=center]>.wp-block-table,.wp-block[data-align=left]>.wp-block-table,.wp-block[data-align=right]>.wp-block-table{
|
|
height:auto;
|
|
}
|
|
.wp-block[data-align=center]>.wp-block-table table,.wp-block[data-align=left]>.wp-block-table table,.wp-block[data-align=right]>.wp-block-table table{
|
|
width:auto;
|
|
}
|
|
.wp-block[data-align=center]>.wp-block-table td,.wp-block[data-align=center]>.wp-block-table th,.wp-block[data-align=left]>.wp-block-table td,.wp-block[data-align=left]>.wp-block-table th,.wp-block[data-align=right]>.wp-block-table td,.wp-block[data-align=right]>.wp-block-table th{
|
|
word-break:break-word;
|
|
}
|
|
.wp-block[data-align=center]>.wp-block-table{
|
|
text-align:initial;
|
|
}
|
|
.wp-block[data-align=center]>.wp-block-table table{
|
|
margin:0 auto;
|
|
}
|
|
.wp-block-table td,.wp-block-table th{
|
|
border:1px solid;
|
|
padding:.5em;
|
|
}
|
|
.wp-block-table td.is-selected,.wp-block-table th.is-selected{
|
|
border-color:var(--wp-admin-theme-color);
|
|
border-style:double;
|
|
box-shadow:inset 0 0 0 1px var(--wp-admin-theme-color);
|
|
}
|
|
.wp-block-table table.has-individual-borders td,.wp-block-table table.has-individual-borders th,.wp-block-table table.has-individual-borders tr,.wp-block-table table.has-individual-borders>*{
|
|
border:1px solid;
|
|
}
|
|
|
|
.blocks-table__placeholder-form.blocks-table__placeholder-form{
|
|
align-items:flex-start;
|
|
display:flex;
|
|
flex-direction:column;
|
|
gap:8px;
|
|
}
|
|
@media (min-width:782px){
|
|
.blocks-table__placeholder-form.blocks-table__placeholder-form{
|
|
align-items:flex-end;
|
|
flex-direction:row;
|
|
}
|
|
}
|
|
|
|
.blocks-table__placeholder-input{
|
|
width:112px;
|
|
} |