Skip to content

Commit a8404b6

Browse files
Fix sender information being cut-off in 2-row card view
Fixes an issue where the sender's name and email address would be in too large a font, and cut-off, when the card size was set to two rows instead of 3 rows.
1 parent e19bbbb commit a8404b6

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

userChrome.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -836,6 +836,13 @@ tr.table-layout.selected.current {
836836
display: none !important;
837837
}
838838

839+
/* Target cards with approximately 2-row height */
840+
tr.card-layout[style*="height: 49px"] .sender,
841+
tr.card-layout[style*="height: 50px"] .sender {
842+
font-size: 1rem !important;
843+
font-weight: 500 !important;
844+
margin-top: 5px !important;
845+
}
839846

840847
/* DARK MODE */
841848
@media (prefers-color-scheme: dark) {
@@ -933,3 +940,4 @@ tr.table-layout.selected.current {
933940

934941

935942
}
943+

0 commit comments

Comments
 (0)