mirror of
https://github.com/R0m1k3/Socialflow.git
synced 2026-10-11 17:26:45 +02:00
Merge pull request #69 from R0m1k3/dev
Increase the font size of text displayed on banners
This commit is contained in:
1 file changed
+3
-3
@@ -755,9 +755,9 @@ export default function ImageEditor() {
|
||||
<div
|
||||
className="ribbon-text"
|
||||
style={{
|
||||
fontSize: ribbon.text.length <= 5 ? '22px' :
|
||||
ribbon.text.length <= 8 ? '18px' :
|
||||
ribbon.text.length <= 11 ? '15px' : '12px'
|
||||
fontSize: ribbon.text.length <= 5 ? '28px' :
|
||||
ribbon.text.length <= 8 ? '24px' :
|
||||
ribbon.text.length <= 11 ? '20px' : '16px'
|
||||
}}
|
||||
>
|
||||
{ribbon.text}
|
||||
|
||||
Reference in new issue
Block a user