1
0
mirror of git://f0xx.org/ac/ac-platform-web synced 2026-08-09 20:59:36 +03:00

FOR SALE ribbon: shift left by half its length.

Pre-rotate translateX uses stacked-letter height in em units.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Anton Afanasyeu
2026-08-05 13:17:44 +02:00
parent 512b4800fb
commit 0a318f4bb1

View File

@@ -2503,7 +2503,9 @@ button.report-tag--filter:hover {
z-index: 1100; z-index: 1100;
cursor: pointer; cursor: pointer;
text-decoration: none; text-decoration: none;
transform: rotate(-135deg); font-size: 0.7rem;
/* Half ribbon length (stack height) left before rotation. */
transform: translateX(calc(-0.5 * (8 * 1.05em + 0.86em))) rotate(-135deg);
transform-origin: center center; transform-origin: center center;
line-height: 0; line-height: 0;
} }