zotero/scss
Bogdan Abaev 553d1f6b3c editable-text updates
- Added nowrap attribute to not add the stretching aspect
of the editable-text and to not have any text wrapping. To be used in cases when
the input is a single line and it's width is stretched with flexbox, for
example tags or itemBox value fields.
- Added 'tight' attribute to set lower padding values on editable-text.
To be applied on fields that are not as prominent as abstract or header
as it makes the actual editable-text component smaller.
- Minor style changes to not shift layout on focus on windows (using
transparent border instead of 0 margin).
- No overflow of textarea to avoid longer-than-needed textareas on
windows.
- Keep track if the component was focused on via mouse click or not.
If the focus happened without prior mouse click, select all text.
- Reset cursor and selection on blur.
- Make sure the .input is always re-added if it disappears after drag-drop.
- Added sizeToContent function to set max-width based on the width
of the input.
- Allow the browser to break up words more freely with overflow-wrap: anywhere
to avoid stretching the itemBox with extra long header without spaces.

-  Apply 'nowrap' and 'tight' to tags so that a long tag does not stretch
the itemBox or make the editable-text extra tall.
2024-01-24 23:31:52 -05:00
..
abstracts focus-ring mixin 2024-01-24 23:31:52 -05:00
base Preferences redesign 2024-01-24 23:31:51 -05:00
components Initial implementation of Libraries and Collections box 2024-01-24 23:31:51 -05:00
elements editable-text updates 2024-01-24 23:31:52 -05:00
linux Fix Linux UI bugs 2024-01-24 23:31:51 -05:00
mac Fix Scaffold for redesign 2024-01-24 23:31:51 -05:00
preferences Preferences redesign 2024-01-24 23:31:51 -05:00
themes Initial implementation of Libraries and Collections box 2024-01-24 23:31:51 -05:00
win Add window inactive opacity to toolbar and tabs 2024-01-24 23:31:50 -05:00
_zotero.scss Initial implementation of Libraries and Collections box 2024-01-24 23:31:51 -05:00
about.scss About window redesign 2024-01-24 23:31:50 -05:00
preferences.scss Preferences redesign 2024-01-24 23:31:51 -05:00
scaffold.scss Fix Scaffold for redesign 2024-01-24 23:31:51 -05:00
zotero-mac.scss Fix Scaffold for redesign 2024-01-24 23:31:51 -05:00
zotero-unix.scss Fix Linux UI bugs 2024-01-24 23:31:51 -05:00
zotero-win.scss Toolbar redesign 2024-01-24 04:03:36 -05:00