Centralize attachmentName styling

This commit is contained in:
the-djmaze 2022-03-24 12:00:41 +01:00
parent c121a233d6
commit b138c1b4a0
3 changed files with 17 additions and 21 deletions

View file

@ -35,7 +35,7 @@
@import "User/OpenPgpKey.less";
@import "User/Identity.less";
@import "User/AdvancedSearch.less";
@import "User/Attachmnets.less";
@import "User/Attachments.less";
@import "User/MessageList.less";
@import "User/MessageView.less";
@import "User/Contacts.less";

View file

@ -30,11 +30,6 @@
right: 6px;
}
.attachmentSize {
font-size: 12px;
opacity: 0.5;
}
&.error {
.iconMain, .iconPreview, .attachmentSize, .attachmentName {
color: red;
@ -73,16 +68,23 @@
}
.attachmentNameParent {
position: relative;
margin-left: 60px;
padding: 4px 4px 3px 6px;
min-width: 90px;
cursor: pointer;
border-left: 1px solid #ddd;
cursor: pointer;
margin-left: 60px;
min-width: 90px;
padding: 4px 4px 3px 6px;
position: relative;
}
.attachmentName {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.attachmentSize {
font-size: 12px;
opacity: 0.5;
}
.iconMain, .iconPreview {

View file

@ -36,12 +36,6 @@
padding: 10px;
}
.attachmentName {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.no-attachments-desc {
padding-top: 50px;
text-align: center;