Closed
Bug 1866054
Opened 10 months ago
Closed 10 months ago
Cards View: Code cleanup for card sizing
Categories
(Thunderbird :: Folder and Message Lists, task)
Thunderbird
Folder and Message Lists
Tracking
(Not tracked)
RESOLVED
FIXED
122 Branch
People
(Reporter: elijmitchell, Assigned: elijmitchell)
References
Details
(Keywords: access)
Attachments
(1 file)
From Martin:
cardClass.ROW_HEIGHT = cardRowHeight < 50 ? 50 : cardRowHeight;
is better written as cardClass.ROW_HEIGHT = Math.max(cardRowHeight, 50)
. That way the code explicitly says that it is adding a minimum boundary of 50, and we only write the number once. Also, less ternary is always better.
Assignee | ||
Comment 1•10 months ago
|
||
- Code cleanup for card sizing in Cards View
- Fix CSS in inContentDialog.css
Assignee | ||
Updated•10 months ago
|
Keywords: checkin-needed-tb
Target Milestone: --- → 122 Branch
Pushed by benc@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/c17746f4d314
Minor code cleanup of CSS and JS. r=aleca
You need to log in
before you can comment on or make changes to this bug.
Description
•