wp_back/wp-content/plugins/svg-support/scss/svgs-admin-edit-post.scss

21 lines
479 B
SCSS
Raw Normal View History

2024-05-20 15:37:46 +03:00
/**
* Featured Image Display
*
* Fixes the 0px featured image on edit screen
* WooCommerce Product, Sensei Course
*/
body #set-post-thumbnail,
body #postimagediv .inside img[src$=".svg"] {
width: 100%;
}
// Block display of featured image SVG
body .block-editor__container {
.components-panel .editor-post-featured-image__container img[src$='.svg'] {
position: relative;
}
.edit-post-sidebar .components-panel .components-checkbox-control {
margin-top: 10px;
}
}