🐛(frontend) fix callout block spacing for old browsers
On the old Firefox versions, the spacing of the callout block was not applied correctly. We changed the "white-space" property to "pre-wrap" to ensure that the spacing is applied correctly on all browsers.
This commit is contained in:
@@ -21,6 +21,9 @@ const CalloutBlockStyle = createGlobalStyle`
|
||||
padding: var(--c--globals--spacings--3xs) var(--c--globals--spacings--3xs);
|
||||
border-radius: var(--c--globals--spacings--3xs);
|
||||
}
|
||||
.bn-block-content[data-content-type="callout"] .inline-content {
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
`;
|
||||
|
||||
type CreateCalloutBlockConfig = BlockConfig<
|
||||
|
||||
Reference in New Issue
Block a user