Skip to content

Fixes SASS deprecation warning#437

Merged
MichaelMatejko merged 1 commit intosilevis:developfrom
TikiTDO:patch-1
Sep 18, 2024
Merged

Fixes SASS deprecation warning#437
MichaelMatejko merged 1 commit intosilevis:developfrom
TikiTDO:patch-1

Conversation

@TikiTDO
Copy link
Copy Markdown
Contributor

@TikiTDO TikiTDO commented Sep 11, 2024

Fixes the warning below:

Deprecation Warning: Sass's behavior for declarations that appear after nested
rules will be changing to match the behavior specified by CSS in an upcoming
version. To keep the existing behavior, move the declaration above the nested
rule. To opt into the new behavior, wrap the declaration in `& {}`.

More info: https://sass-lang.com/d/mixed-decls

    ╷
67  │ ┌                     &:hover {
68  │ │                         cursor: col-resize;
69  │ │                         background-color: $resize-handle-gb-color;
70  │ │                     }
    │ └─── nested rule
... │
72  │                       position: absolute;
    │                       ^^^^^^^^^^^^^^^^^^ declaration
    ╵
    ../../node_modules/@silevis/reactgrid/main.scss 72:21                           @import
    ../../node_modules/@silevis/reactgrid/styles.scss 6:9                           @import

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants