Fix attachment filename being truncated when zoomed in

This commit is contained in:
Fedor Indutny 2021-04-13 10:13:18 -07:00 committed by GitHub
commit a50d797d16
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -789,8 +789,8 @@
.module-message__generic-attachment__text {
flex-grow: 1;
margin-left: 8px;
// The width of the icon plus our 8px margin
max-width: calc(100% - 37px);
// The width of the icon plus our 8px margin plus 1px leeway
max-width: calc(100% - 36px);
}
.module-message__generic-attachment__file-name {