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:
@@ -2503,7 +2503,9 @@ button.report-tag--filter:hover {
|
||||
z-index: 1100;
|
||||
cursor: pointer;
|
||||
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;
|
||||
line-height: 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user