Opened 9 years ago
Closed 8 years ago
#35358 closed enhancement (fixed)
Values of 0 doesn't need to have units specified in .scss file
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 4.8 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Administration | Keywords: | has-patch |
Focuses: | Cc: |
Description
If we are using .scss files to simplify our CSS writing, let's improve this to write less and do more!
The patch just removes the unit px from the .scss file.
Attachments (1)
Change History (6)
#3
@
8 years ago
- Keywords 2nd-opinion removed
- Milestone changed from Awaiting Review to 4.8
- Owner set to swissspidy
- Status changed from new to accepted
We can easily apply 35358.patch. Output is the same because of autoprefixer. Example:
.media-selection .attachment.selection.details .thumbnail { -webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 3px #096484; box-shadow: 0 0 0 1px #fff, 0 0 0 3px #096484; }
This ticket was mentioned in Slack in #core by jeffpaul. View the logs.
8 years ago
Note: See
TracTickets for help on using
tickets.
Just remove the px unit from .scss file