FirefoxUX / photon

Firefox’s Photon Design System.
https://design.firefox.com/photon/
Mozilla Public License 2.0
273 stars 74 forks source link

Use of the term "padding" is confusing, as in webdev terms it is "margin" #366

Open gregtatum opened 5 years ago

gregtatum commented 5 years ago

In different parts of the design specs, the term "padding" is used to describe the space around an element. This is confusing when implementing the spec in CSS, as "margin" is the term used to describe that space. I made a mistake, until I realized what it was referring to, and saw another implementation by someone else that made the same mistake.

e.g. https://design.firefox.com/photon/components/radio-buttons.html

image