Skip to content

Commit

Permalink
feat(package): support mailspring avatars plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakub Żywiec committed Sep 11, 2023
1 parent 6ff3c33 commit 7dff439
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions styles/components/_messages.less
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,24 @@
.draft-list .thread-icon.thread-icon-attachment {
opacity: 0.3;
}

// Support for Mailspring Avatars plugin (https://github.com/Striffly/mailspring-avatars)
.thread-avatar {
& > * {
outline: solid 1px @entry_border;
background-color: @entry_bg;
transform-origin: center center !important;
}
}

.thread-list .thread-avatar {
& > * {
transform: scale(0.75) !important;
}
}

.thread-list-narrow .thread-avatar {
& > * {
transform: scale(1) !important;
}
}

0 comments on commit 7dff439

Please sign in to comment.