[fix](trx-frontend-http): eliminate bookmark chip wobble by using compositor-friendly transforms
Batch offsetWidth reads before writes to prevent layout thrashing, and position chips via transform instead of left to avoid sub-pixel jitter. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Signed-off-by: Stan Grams <sjg@haxx.space>
This commit is contained in:
@@ -3474,8 +3474,9 @@ button:focus-visible, input:focus-visible, select:focus-visible {
|
||||
}
|
||||
.spectrum-bookmark-chip {
|
||||
position: absolute;
|
||||
transform: translateX(-50%);
|
||||
top: 2px;
|
||||
left: 0;
|
||||
will-change: transform;
|
||||
cursor: pointer;
|
||||
font-weight: 600;
|
||||
font-size: 0.66rem;
|
||||
|
||||
Reference in New Issue
Block a user