mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-09 12:20:25 +01:00
a41c798835
In addition to all the packages being updated to the latest versions, this commit also includes some mandatory changes to avoid editor breakage: - Update React to to 18.2.0. - Add the right stylesheets to support iframed block editors. Props ntsekouras, mamaduka, flixos90, desrosj, peterwilsoncc. See #57471. Built from https://develop.svn.wordpress.org/trunk@55246 git-svn-id: http://core.svn.wordpress.org/trunk@54779 1a063a9b-81f0-0310-95a4-ce76da25c4cd
44 lines
1.1 KiB
CSS
44 lines
1.1 KiB
CSS
[data-type="core/shortcode"] .block-editor-plain-text{
|
|
max-height:250px;
|
|
}
|
|
[data-type="core/shortcode"].components-placeholder{
|
|
min-height:0;
|
|
}
|
|
|
|
.blocks-shortcode__textarea{
|
|
border:1px solid #949494;
|
|
border-radius:2px;
|
|
box-shadow:0 0 0 transparent;
|
|
font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;
|
|
font-size:16px;
|
|
line-height:normal;
|
|
padding:6px 8px;
|
|
transition:box-shadow .1s linear;
|
|
}
|
|
@media (prefers-reduced-motion:reduce){
|
|
.blocks-shortcode__textarea{
|
|
transition-delay:0s;
|
|
transition-duration:0s;
|
|
}
|
|
}
|
|
@media (min-width:600px){
|
|
.blocks-shortcode__textarea{
|
|
font-size:13px;
|
|
line-height:normal;
|
|
}
|
|
}
|
|
.blocks-shortcode__textarea:focus{
|
|
border-color:var(--wp-admin-theme-color);
|
|
box-shadow:0 0 0 1px var(--wp-admin-theme-color);
|
|
outline:2px solid transparent;
|
|
}
|
|
.blocks-shortcode__textarea::-webkit-input-placeholder{
|
|
color:rgba(30,30,30,.62);
|
|
}
|
|
.blocks-shortcode__textarea::-moz-placeholder{
|
|
color:rgba(30,30,30,.62);
|
|
opacity:1;
|
|
}
|
|
.blocks-shortcode__textarea:-ms-input-placeholder{
|
|
color:rgba(30,30,30,.62);
|
|
} |