mirror of
https://github.com/R0m1k3/Socialflow.git
synced 2026-10-11 17:26:45 +02:00
Increase the font size of text displayed on banners
Adjusted font sizes within the image editor component to make banner text larger based on its length. Replit-Commit-Author: Agent Replit-Commit-Session-Id: ae4037a0-2a6f-4530-9bac-79b543286bda Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/397bca8c-984f-43ff-841a-10897aeb8140/ae4037a0-2a6f-4530-9bac-79b543286bda/Z8vED4L
This commit is contained in:
1 parent
29bed1d447
commit
7d9b5b1a82
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