elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.82k stars 8.21k forks source link

CSS Deprecation Issue for Team: kibana-data-discovery, Found in file: render_custom_toolbar.scss #190891

Closed petrklapka closed 1 month ago

petrklapka commented 2 months ago

DEPRECATION: 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 & {}.

The file below has one or more instances where CSS behavior will change unless the declaration is moved above the nested rule. Line numbers for the declaration along with the file and line numbers in which the nested rule appears are shown below.

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

kibana/packages/kbn-unified-data-table/src/components/custom_toolbar/render_custom_toolbar.scss

    ╷
17  │ ┌     &:active, &:focus {
18  │ │       background: transparent;
19  │ │     }
    │ └─── nested rule
... │
22  │       transition: transform $euiAnimSpeedNormal ease-in-out;
    │       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ declaration
    ╵
elasticmachine commented 2 months ago

Pinging @elastic/kibana-data-discovery (Team:DataDiscovery)