mirror of
https://github.com/zotero/zotero.git
synced 2026-09-07 08:26:14 +00:00
- Properly truncate and ellipsize long tags - Show scrollbar if tags go off the bottom of the pane These both improve on the pre-React version, which didn't properly truncate tags (at least in the current version, though I think it used to) and scrolled the Add button off the top of the screen.
17 lines
No EOL
309 B
SCSS
17 lines
No EOL
309 B
SCSS
input.editable-control {
|
|
flex: 1 1 auto; // Stretch within react-autosuggest__container
|
|
padding: 2px 1px;
|
|
font-size: inherit;
|
|
}
|
|
|
|
textarea.editable-control {
|
|
font-family: inherit;
|
|
font-size: inherit;
|
|
}
|
|
|
|
.editable-content {
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
width: 100%;
|
|
} |