itemBox: fix overlapping rows on initial load (#5176)

On initial load, the grippy does not immediately
appear because it needs to be loaded. This means that
when itemBox is rendered for the first time, the grippy
has a width of 0, which later becomes 18px. If the
itemPane is narrow, it may push the columns out
and lead to text of value components wrapping
without the rows getting stretched.

This sets explicit width to the grippy to avoid such behavior.

Fixes: zotero#5166
This commit is contained in:
abaevbog 2025-04-02 02:27:47 -07:00 • committed by GitHub
parent f1244d824c
commit a8d32291a4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -75,6 +75,10 @@ info-box {
.meta-label > .single-creator-grippy {
visibility: hidden !important;
}
// Avoids shifting itemBox columns when the svg is initially loaded
.meta-label > .zotero-clicky-grippy {
width: 18px !important;
}
textarea {
font: inherit;