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)
Firefox
Migration
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.
Reporter | ||
Updated•2 years ago
|
Severity: -- → N/A
Priority: -- → P5
Reporter | ||
Updated•2 years ago
|
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
Comment 3•2 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 2 years ago
status-firefox113:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 113 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•