zotero/scss/elements
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
..
_abstractBox.scss Notes/Tags/Related redesign 2024-01-24 04:03:13 -05:00
_annotationRow.scss Annotation rows: Make transparent border visible 2024-01-24 04:03:35 -05:00
_attachmentBox.scss Convert theme to css variables 2024-01-24 03:42:29 -05:00
_attachmentRow.scss Initial implementation of Libraries and Collections box 2024-01-24 23:31:51 -05:00
_attachmentsBox.scss Notes/Tags/Related redesign 2024-01-24 04:03:13 -05:00
_collapsibleSection.scss Initial implementation of Libraries and Collections box 2024-01-24 23:31:51 -05:00
_colorPicker.scss fx-compat: Make color picker CE accessible via keyboard and VoiceOver (#2933) 2023-06-17 02:43:24 -04:00
_editableText.scss editable-text updates 2024-01-24 23:31:52 -05:00
_guidancePanel.scss Guidance panel fixes 2023-07-11 05:35:32 -04:00
_itemBox.scss Notes/Tags/Related redesign 2024-01-24 04:03:13 -05:00
_itemPaneSidenav.scss Unify context pane into new item pane/sidenav design 2024-01-24 23:31:51 -05:00
_librariesCollectionsBox.scss Initial implementation of Libraries and Collections box 2024-01-24 23:31:51 -05:00
_noteEditor.scss Unify context pane into new item pane/sidenav design 2024-01-24 23:31:51 -05:00
_noteRow.scss Unify context pane into new item pane/sidenav design 2024-01-24 23:31:51 -05:00
_notesBox.scss Initial implementation of Libraries and Collections box 2024-01-24 23:31:51 -05:00
_paneHeader.scss Toolbar redesign 2024-01-24 04:03:36 -05:00
_publicationsLicenseInfo.scss Remove shadow root from PublicationsLicenseInfo #3082 2023-04-26 15:23:49 +02:00
_quickSearchTextbox.scss Use redesign loading icon for sync spinner 2024-01-24 23:31:50 -05:00
_richlistCheckbox.scss Toolbar redesign 2024-01-24 04:03:36 -05:00
_styleConfigurator.scss Convert theme to css variables 2024-01-24 03:42:29 -05:00
_tagsBox.scss Initial implementation of Libraries and Collections box 2024-01-24 23:31:51 -05:00
_zoteroSearch.scss Fix more Z6/Z7 inconsistencies in Advanced Search 2023-08-24 11:14:59 -04:00