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)

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.

  • Code cleanup for card sizing in Cards View
  • Fix CSS in inContentDialog.css
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

Status: ASSIGNED → RESOLVED
Closed: 10 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: