Closed Bug 1856717 Opened 8 months ago Closed 2 months ago

Set 'text-align: start' on ':host' in moz-message-bar.css

Categories

(Toolkit :: UI Widgets, defect, P5)

defect

Tracking

()

RESOLVED FIXED
126 Branch
Tracking Status
firefox126 --- fixed

People

(Reporter: jules, Assigned: camilledavisdev, Mentored)

References

(Blocks 1 open bug)

Details

(Whiteboard: [lang=css])

Attachments

(2 files)

We need to specify text-align: start on :host in moz-message-bar.css so that it won't inherit a parent or ancestor element style that sets a different text alignment. Including a screenshot of plugins of what's happening today since they justify the text with center.

(In reply to Jules Simplicio [:jules] from comment #0)

Created attachment 9356474 [details]
wrong text alignment due to parent setting text alignment and the message bar not.png

We need to specify text-align: start on :host in moz-message-bar.css so that it won't inherit a parent or ancestor element style that sets a different text alignment. Including a screenshot of plugins of what's happening today since they justify the text with center.

Hi please can i be assigned this bug ? and also where can i find the file for this bug ?

(In reply to peterodejobi9 from comment #1)

(In reply to Jules Simplicio [:jules] from comment #0)

Created attachment 9356474 [details]
wrong text alignment due to parent setting text alignment and the message bar not.png

We need to specify text-align: start on :host in moz-message-bar.css so that it won't inherit a parent or ancestor element style that sets a different text alignment. Including a screenshot of plugins of what's happening today since they justify the text with center.

Hi please can i be assigned this bug ? and also where can i find the file for this bug ?

Hey there,
Here's the file.
I also went ahead and assigned you to this bug.
Let me know if you need any further help!

Assignee: nobody → peterodejobi9

On Nightly how do i navigate to this part of the UI ?

(In reply to peterodejobi9 from comment #3)

On Nightly how do i navigate to this part of the UI ?

Hey there, you can see that in about:plugins

Hey peterodejobi9, just wanted to follow up and ask if you need any help.

Flags: needinfo?(peterodejobi9)

(In reply to Jules Simplicio [:jules] from comment #5)

Hey peterodejobi9, just wanted to follow up and ask if you need any help.

Oh No thank i'll send in my patch for review

Flags: needinfo?(peterodejobi9)

Our about:plugins code got removed but this work is still valid so we can avoid this happening in the future.

Hey peterodejobi9 let me know if you need any help with the patch :)

Flags: needinfo?(peterodejobi9)
Severity: -- → S4
Type: enhancement → defect
Priority: -- → P5

Going to unassign for now @peterodejobi9 but feel free to post your patch and the bug will automatically be assigned to you again. If you need any assistance then feel free to comment here and request information from Jules.

Thanks!

Assignee: peterodejobi9 → nobody
Flags: needinfo?(peterodejobi9)
Assignee: nobody → camilledavisdev
Status: NEW → ASSIGNED
Attachment #9394196 - Attachment description: WIP: Bug 1856717 - Add text-align: start to moz-message-bar so it doesn't inherit alignment from parent. → Bug 1856717 - Add text-align: start to moz-message-bar so it doesn't inherit alignment from parent.

Phabricator says it needs a testing tag... should I add one? (And if so which one?)

Flags: needinfo?(jules)

Hey Camille, I added a tag for you. I can also help with landing this.

Flags: needinfo?(jules)
Pushed by jsimplicio@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/11a2a9133079
Add text-align: start to moz-message-bar so it doesn't inherit alignment from parent. r=desktop-theme-reviewers,reusable-components-reviewers,jules
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 126 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: