@wordpress/block-library
Version:
Block library for the WordPress editor.
41 lines • 893 B
CSS
.wp-block[data-align=left] > .wp-block-file, .wp-block[data-align=right] > .wp-block-file {
height: auto;
}
.wp-block[data-align=center] > .wp-block-file {
text-align: center;
}
.wp-block-file {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: center;
margin-bottom: 0;
}
.wp-block-file .components-resizable-box__container {
margin-bottom: 1em;
}
.wp-block-file .wp-block-file__preview {
margin-bottom: 1em;
width: 100%;
height: 100%;
}
.wp-block-file .wp-block-file__preview-overlay {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
}
.wp-block-file .wp-block-file__content-wrapper {
flex-grow: 1;
}
.wp-block-file a {
min-width: 1em;
}
.wp-block-file a:not(.wp-block-file__button) {
display: inline-block;
}
.wp-block-file .wp-block-file__button-richtext-wrapper {
display: inline-block;
margin-left: 0.75em;
}