astra_get_block_editor_required_css()

This is new compatibillity CSS added at time ‘improve-gb-editor-ui’. So requiring this for new setup as well that’s why making it common.


Description


Source

File: inc/dynamic-css/block-editor-compatibility.php

function astra_get_block_editor_required_css() {
	return '
		blockquote, cite {
			font-style: initial;
		}
		.wp-block-file {
			display: flex;
			align-items: center;
			flex-wrap: wrap;
			justify-content: space-between;
		}
		.wp-block-pullquote {
			border: none;
		}
		.wp-block-pullquote blockquote::before {
			content: "\201D";
			font-family: "Helvetica",sans-serif;
			display: flex;
			transform: rotate( 180deg );
			font-size: 6rem;
			font-style: normal;
			line-height: 1;
			font-weight: bold;
			align-items: center;
			justify-content: center;
		}
		.has-text-align-right > blockquote::before {
			justify-content: flex-start;
		}
		.has-text-align-left > blockquote::before {
			justify-content: flex-end;
		}
		figure.wp-block-pullquote.is-style-solid-color blockquote {
			max-width: 100%;
			text-align: inherit;
		}';
}

Changelog

Changelog
Version Description
3.6.5 Introduced.


User Contributed Notes

You must log in before being able to contribute a note or feedback.