Closed Bug 1819770 Opened 2 years ago Closed 2 years ago

Update migration-wizard.css to use content: url(image) rather than background-image for icons

Categories

(Firefox :: Migration, task, P5)

task

Tracking

()

RESOLVED FIXED
113 Branch
Tracking Status
firefox113 --- fixed

People

(Reporter: mconley, Assigned: portiawuu)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

We can use content: url(path to image); instead of background-image for icons (example), and that's great because it means that we don't have to explicitly set a width and height - the box that's getting the image loaded on it will inherit the dimensions of the loaded image.

This means we can simplify these pieces of styling code.

Note that we'll need to set content: "" and the width and height of 16px for this rule because that icon is actually a conic gradient with a mask.

Severity: -- → N/A
Priority: -- → P5
Assignee: nobody → portiawuu
Pushed by mconley@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/1210ba76e791 Update migration-wizard.css to use content: url(image) rather than background-image for icons. r=mconley
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 113 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: