Closed Bug 466664 Opened 17 years ago Closed 17 years ago

Using Lightning makes text on Thunderbird's tabs too large

Categories

(Calendar :: Lightning Only, defect, P1)

All
macOS
defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: standard8, Assigned: berend.cornelius09)

References

Details

(Keywords: regression)

Attachments

(2 files, 1 obsolete file)

Attached image The problem
This is a regression from bug 465512. When I use Thunderbird + Lightning together on Mac, the tabs get very large text. This is due to the change: .tab-text { text-align: center; + font-size: 14px; } in calendar/base/themes/pinstripe/calendar-views.css If I delete this item in domi, the text reverts to normal. Attaching screenshot of bad display.
Flags: tb-integration+
Assignee: nobody → Berend.Cornelius
Severity: normal → trivial
Priority: -- → P1
Severity: trivial → normal
Priority: P1 → --
Priority: -- → P1
Attached patch The solution... (obsolete) — Splinter Review
Attachment #350447 - Flags: review?(daniel.boelzle)
>-.tab-text { >+tab[calview] > .tab-middle > .tab-text { I know that this is probably insignificant in terms of overall performance, but can't we just change the whole class? According to https://developer.mozilla.org/en/Writing_Efficient_CSS#Try_to_put_rules_into_the_most_specific_category_you_can! this is not the optimal solution performance-wise, isn't it?
Status: NEW → ASSIGNED
Well I was aware of the bad performance of the child selectors, which actually also lead to this stupid issue, but when I set a class at the tab directly I found out that it was not inherited through. Yet after again reading your link I tried to set the class at the first anonymous element and from there the css - attribute was passed through indeed. This saved me one child selector. So thanx for the hint.
Attachment #350447 - Attachment is obsolete: true
Attachment #350461 - Flags: review?(daniel.boelzle)
Attachment #350447 - Flags: review?(daniel.boelzle)
Attachment #350461 - Flags: review?(daniel.boelzle) → review+
Comment on attachment 350461 [details] [diff] [review] The solution v. #2 r=dbo
patch v. #2 to comm-central: http://hg.mozilla.org/comm-central/rev/439ef9103f0e ->fixed
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Target Milestone: --- → 1.0
Checked in lightning build 20081130 -> VERIFIED.
Status: RESOLVED → VERIFIED
Target Milestone: 1.0 → 1.0b1
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: