zotero/scss/components/_editable.scss
Dan Stillman 5ba5e70b9d Fix overflow issues in React tags box
- 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.
2019-11-13 05:31:12 -05:00

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%;
}