Merge pull request #8191 from overleaf/msm-dictionary-modal-fixes

Dictionary modal fixes

GitOrigin-RevId: 9804619a5addfb53633b6801002fdff221af971a
This commit is contained in:
Timothée Alby 2022-05-30 12:19:41 +02:00 committed by Copybot
parent 17c72b74c3
commit 21246b9bb0
3 changed files with 8 additions and 1 deletions

View file

@ -94,7 +94,9 @@ export default function DictionaryModalContent({
))}
</ul>
) : (
<i>{t('edit_dictionary_empty')}</i>
<p className="dictionary-empty-body text-center">
<i>{t('edit_dictionary_empty')}</i>
</p>
)}
</Modal.Body>

View file

@ -27,3 +27,7 @@
flex-grow: 1;
padding-right: @padding-xs;
}
.dictionary-empty-body {
padding: @padding-md;
}

View file

@ -5,6 +5,7 @@
height: @line-height-computed * 0.75;
line-height: @font-size-small;
font-size: @line-height-computed * 0.75;
font-weight: normal;
text-align: center;
color: #fff;