.wp-block-preformatted,
.wp-block-preformatted.has-background,
.wp-block-code {
	overflow: auto;
	padding: var(--wp--preset--spacing--6);
}

.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);
}