mirror of
https://github.com/R0m1k3/Socialflow.git
synced 2026-10-23 15:08:13 +02:00
Adjust image editor ribbon position slightly to the left
Update CSS transform property in `ImageEditor` component to adjust ribbon positioning, shifting it 2px to the left. 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:
1 parent
2b36c3fa6a
commit
4ec1e3ef33
1 file changed
+2
-2
@@ -761,8 +761,8 @@ export default function ImageEditor() {
|
|||||||
whiteSpace: ribbon.text === "Stock limité" ? 'normal' : 'nowrap',
|
whiteSpace: ribbon.text === "Stock limité" ? 'normal' : 'nowrap',
|
||||||
transform: ribbon.text === "Stock limité"
|
transform: ribbon.text === "Stock limité"
|
||||||
? (ribbon.position === "north_west"
|
? (ribbon.position === "north_west"
|
||||||
? 'translate(-50%, -50%) rotate(-45deg) translateY(-35px) translateX(5px)'
|
? 'translate(-50%, -50%) rotate(-45deg) translateY(-35px) translateX(2px)'
|
||||||
: 'translate(50%, -50%) rotate(45deg) translateY(-35px) translateX(-5px)')
|
: 'translate(50%, -50%) rotate(45deg) translateY(-35px) translateX(-2px)')
|
||||||
: undefined
|
: undefined
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in new issue
Block a user