Skip to content

Commit

Permalink
Update Sass guidance for Prettier leading zeroes
Browse files Browse the repository at this point in the history
  • Loading branch information
colinrotherham committed Aug 7, 2023
1 parent 0bb01c6 commit b44022f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/contributing/coding-standards/css.md
Original file line number Diff line number Diff line change
Expand Up @@ -505,21 +505,21 @@ Good:
$my-example-var: value;
```

### Don't write leading or trailing zeroes for numeric values with a decimal point
### Write leading or trailing zeroes for numeric values with a decimal point

Bad:

```scss
.selector {
font-size: 0.50em;
font-size: .50em;
}
```

Good:

```scss
.selector {
font-size: .5em;
font-size: 0.5em;
}
```

Expand Down

0 comments on commit b44022f

Please sign in to comment.