Page MenuHomePhabricator

[web] [landing] Omit units for 0 values in CSS
ClosedPublic

Authored by abosh on Jun 23 2022, 8:36 AM.
Tags
None
Referenced Files
F2018102: D4343.id13762.diff
Sat, Jun 15, 6:58 PM
Unknown Object (File)
Thu, Jun 13, 4:46 AM
Unknown Object (File)
Tue, Jun 11, 8:40 AM
Unknown Object (File)
Tue, Jun 11, 8:36 AM
Unknown Object (File)
Mon, Jun 10, 9:03 AM
Unknown Object (File)
Sun, Jun 9, 9:04 PM
Unknown Object (File)
Sat, May 18, 6:51 AM
Unknown Object (File)
Sat, May 18, 1:24 AM
Subscribers

Details

Summary

The units for 0 values in CSS are redundant. This is a quick no-op change that makes the code more concise and readable as the unitless 0 is distinguished from hard-set values with units.

Read more: https://stackoverflow.com/q/7923042/13079675


This technically depends on D4339 since both diffs modify landing/subscription-form.css, but I can resolve that merge conflict quickly and easily.

Test Plan

Find-and-replace + close reading. 0px == 0 in CSS, so there are no style changes that can occur as a result of this.

Diff Detail

Repository
rCOMM Comm
Branch
master
Lint
No Lint Coverage
Unit
No Test Coverage