style: updated margins and font styles for editor (#5978)
* style: updated margins and font styles for editor * fix: code block font size in small font * fix: remove duplicate code
This commit is contained in:
parent
1217af1d5f
commit
97eb8d43d4
6 changed files with 50 additions and 40 deletions
|
|
@ -46,7 +46,7 @@ export const CoreEditorExtensionsWithoutProps = [
|
|||
CustomQuoteExtension,
|
||||
CustomHorizontalRule.configure({
|
||||
HTMLAttributes: {
|
||||
class: "my-4 border-custom-border-400",
|
||||
class: "py-4 border-custom-border-400",
|
||||
},
|
||||
}),
|
||||
CustomLinkExtension.configure({
|
||||
|
|
|
|||
|
|
@ -78,7 +78,7 @@ export const CoreEditorExtensions = (args: TArguments) => {
|
|||
DropHandlerExtension(),
|
||||
CustomHorizontalRule.configure({
|
||||
HTMLAttributes: {
|
||||
class: "my-4 border-custom-border-400",
|
||||
class: "py-4 border-custom-border-400",
|
||||
},
|
||||
}),
|
||||
CustomKeymap,
|
||||
|
|
|
|||
|
|
@ -67,7 +67,7 @@ export const CoreReadOnlyEditorExtensions = (props: Props) => {
|
|||
CustomQuoteExtension,
|
||||
CustomHorizontalRule.configure({
|
||||
HTMLAttributes: {
|
||||
class: "my-4 border-custom-border-400",
|
||||
class: "py-4 border-custom-border-400",
|
||||
},
|
||||
}),
|
||||
CustomLinkExtension.configure({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue