overleaf/services/web/frontend/stylesheets/app/editor/dictionary.less
Timothée Alby c66278cf89 Merge pull request #8148 from overleaf/ta-pr-dictionary-style
Polish Dictionary Modal UI

GitOrigin-RevId: 48aceb56c84a218380c619ecc5cd527f5062d3c4
2022-05-27 08:04:16 +00:00

29 lines
470 B
Text

#dictionary-modal {
.modal-body {
padding: 0;
}
}
.dictionary-entries-list {
overflow-y: scroll;
max-height: calc(100vh - 225px);
margin: 0;
padding: @padding-sm;
}
.dictionary-entry {
word-break: break-all;
display: flex;
padding: @padding-sm;
border-bottom: solid 1px @modal-header-border-color;
align-items: center;
&:last-child {
border-bottom: none;
}
}
.dictionary-entry-name {
flex-grow: 1;
padding-right: @padding-xs;
}