mirror of
https://github.com/picocss/pico.git
synced 2025-04-26 19:26:14 -04:00
Use sass division function instead of deprecated operator
This effectively make the SCSS code processable only by dart-sass because neither libsass (and node-sass in consequence) nor ruby-sass supports new syntax. See https://sass-lang.com/documentation/breaking-changes/slash-div for more information. This fixes #27
This commit is contained in:
parent
cc164857b9
commit
cb5b746bbb
10 changed files with 30 additions and 26 deletions
|
@ -131,7 +131,7 @@ fieldset {
|
|||
label,
|
||||
fieldset legend {
|
||||
display: block;
|
||||
margin-bottom: calc(var(--spacing) / 4);
|
||||
margin-bottom: calc(var(--spacing) * 0.25);
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
|
@ -315,6 +315,6 @@ label {
|
|||
& > input,
|
||||
& > select,
|
||||
& > textarea {
|
||||
margin-top: calc(var(--spacing) / 4);
|
||||
margin-top: calc(var(--spacing) * 0.25);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue