553d1f6b3c
- 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. |
||
---|---|---|
.. | ||
_abstractBox.scss | ||
_annotationRow.scss | ||
_attachmentBox.scss | ||
_attachmentRow.scss | ||
_attachmentsBox.scss | ||
_collapsibleSection.scss | ||
_colorPicker.scss | ||
_editableText.scss | ||
_guidancePanel.scss | ||
_itemBox.scss | ||
_itemPaneSidenav.scss | ||
_librariesCollectionsBox.scss | ||
_noteEditor.scss | ||
_noteRow.scss | ||
_notesBox.scss | ||
_paneHeader.scss | ||
_publicationsLicenseInfo.scss | ||
_quickSearchTextbox.scss | ||
_richlistCheckbox.scss | ||
_styleConfigurator.scss | ||
_tagsBox.scss | ||
_zoteroSearch.scss |