.wp-block-preformatted,
.wp-block-preformatted.has-background,
.wp-block-code {
	overflow: auto;
	@include s-r-6(padding);
}

.wp-block-preformatted,
.wp-block-code {
	border: none;

	code {
		overflow-x: auto;
		white-space: pre;
		display: block;
		overflow-wrap: break-word;
	}
}

.wp-block-code {
	background: var(--global--color--variant-code-background);
	color: var(--global--color--variant-code-color);
}