overleaf/services/web/frontend/stylesheets/app/editor/dictionary.less
Timothée Alby 21246b9bb0 Merge pull request #8191 from overleaf/msm-dictionary-modal-fixes
Dictionary modal fixes

GitOrigin-RevId: 9804619a5addfb53633b6801002fdff221af971a
2022-05-31 08:04:43 +00:00

33 lines
522 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;
}
.dictionary-empty-body {
padding: @padding-md;
}