Skip to content

Commit

Permalink
Handle sass 1.77.7 mixed declarations deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
glepretre committed Sep 3, 2024
1 parent c0aac5b commit ebcf8f5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/sass/default/Field.sass
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
.Formol_Field
+field-colors($formol-color-inactive)
margin: $formol-field-margin 0
max-width: 100%
width: fit-content
width: -moz-fit-content
width: -webkit-fit-content
+field-colors($formol-color-inactive)

&--required &__title
&::before
Expand Down Expand Up @@ -56,8 +56,8 @@
outline: transparent

&--error, &--error:hover
+field-colors($formol-color-error)
box-shadow: none
+field-colors($formol-color-error)


// elements
Expand Down
2 changes: 1 addition & 1 deletion src/sass/default/fields/FileField.sass
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@

&__preview
border: solid 1px
color: $formol-color
margin: 1em
min-width: 8em
max-width: 10em
Expand Down Expand Up @@ -79,7 +80,6 @@
&:hover
max-height: 10em

color: $formol-color
&--error
color: $formol-color-error

Expand Down

0 comments on commit ebcf8f5

Please sign in to comment.