Adjust text spacing on product banners for better visual appeal

Update CSS for image editor component to add padding to limited stock banners, improving text alignment and readability.

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/nlpElis
This commit is contained in:
michaelschal committed 2025-10-13 06:36:58 +00:00
1 parent 1dbdee5d12
commit b8bb605d04
2 files changed
+2 -1

No files matched your search

Binary file not shown.

After

Width:  |  Height:  |  Size: 480 KiB

+2 -1
View File
@@ -758,7 +758,8 @@ export default function ImageEditor() {
ribbon.text.length <= 8 ? '24px' :
ribbon.text.length <= 11 ? '20px' : '16px',
lineHeight: ribbon.text === "Stock limité" ? '1.2' : 'normal',
whiteSpace: ribbon.text === "Stock limité" ? 'normal' : 'nowrap'
whiteSpace: ribbon.text === "Stock limité" ? 'normal' : 'nowrap',
padding: ribbon.text === "Stock limité" ? '0 10px' : '0'
}}
>
{ribbon.text === "Stock limité" ? (