Adjust text positioning within the image editor for better alignment

Update CSS styles in `client/src/pages/image-editor.tsx` to correct the vertical and horizontal positioning of ribbon text elements.

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/VEZwUqa
This commit is contained in:
michaelschal committed 2025-10-11 09:03:14 +00:00
1 parent ecac937e0d
commit d95aef11c5
2 files changed
+12 -12

No files matched your search

Binary file not shown.

After

Width:  |  Height:  |  Size: 270 KiB

+12 -12
View File
@@ -248,15 +248,15 @@ export default function ImageEditor() {
}
.ribbon-text.north_west {
top: 22px;
left: 22px;
top: 38px;
left: 15px;
transform: rotate(-45deg);
transform-origin: center center;
}
.ribbon-text.north_east {
top: 22px;
right: 22px;
top: 38px;
right: 15px;
transform: rotate(45deg);
transform-origin: center center;
}
@@ -264,25 +264,25 @@ export default function ImageEditor() {
/* Adaptive text sizes for ribbon */
.ribbon-text.small {
font-size: 11px;
top: 28px;
left: 18px;
top: 42px;
left: 12px;
}
.ribbon-text.small.north_east {
top: 28px;
right: 18px;
top: 42px;
right: 12px;
left: auto;
}
.ribbon-text.medium {
font-size: 13px;
top: 25px;
left: 20px;
top: 40px;
left: 14px;
}
.ribbon-text.medium.north_east {
top: 25px;
right: 20px;
top: 40px;
right: 14px;
left: auto;
}