Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

reduce size of text items in toolbar

ammarahm-eda143b59ac9d6
diff --git a/apps/mobile/src/views/Editor/tiny/toolbar/item.js b/apps/mobile/src/views/Editor/tiny/toolbar/item.js
index 84db9469c..f8a77acf1 100644
--- a/apps/mobile/src/views/Editor/tiny/toolbar/item.js
+++ b/apps/mobile/src/views/Editor/tiny/toolbar/item.js
@@ -390,7 +390,7 @@ const ToolbarItem = ({
/>
) : format === 'fontsize' ? (
<Paragraph
- size={SIZE.sm}
+ size={SIZE.sm - 1}
color={selected ? colors.accent : colors.pri}>
{formatValue || currentText || '12pt'}
</Paragraph>
@@ -406,7 +406,7 @@ const ToolbarItem = ({
: formatValue
: 'OpenSans-Regular'
}}
- size={text.includes('%') ? SIZE.sm : SIZE.sm}>
+ size={SIZE.sm - 1}>
{currentText || text}
</Paragraph>
) : (