chore: fix mobile large font size
This commit is contained in:
@@ -15,7 +15,7 @@ export const getPlaintextFontSize = (key: EditorFontSize): string => {
|
|||||||
Small: 'text-editor',
|
Small: 'text-editor',
|
||||||
Normal: 'text-lg',
|
Normal: 'text-lg',
|
||||||
Medium: 'text-xl',
|
Medium: 'text-xl',
|
||||||
Large: 'text-xl2',
|
Large: 'text-2xl',
|
||||||
}
|
}
|
||||||
|
|
||||||
const tabletMapping: Record<EditorFontSize, string> = {
|
const tabletMapping: Record<EditorFontSize, string> = {
|
||||||
@@ -23,7 +23,7 @@ export const getPlaintextFontSize = (key: EditorFontSize): string => {
|
|||||||
Small: 'text-editor',
|
Small: 'text-editor',
|
||||||
Normal: 'text-base',
|
Normal: 'text-base',
|
||||||
Medium: 'text-xl',
|
Medium: 'text-xl',
|
||||||
Large: 'text-xl2',
|
Large: 'text-2xl',
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isTabletScreen()) {
|
if (isTabletScreen()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user