Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[unified_doc_viewer / unified_search] clean up SASS compilation warni…
…ngs (#198876) ## Summary This PR cleans up two noisy warnings seen when building Kibana: ``` [2024-11-04 21:26:37] │ warn worker stderr DEPRECATION WARNING: Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0. [2024-11-04 21:26:37] │ warn worker stderr [2024-11-04 21:26:37] │ warn worker stderr Recommendation: math.div($euiSizeXS, 2) or calc($euiSizeXS / 2) [2024-11-04 21:26:37] │ warn worker stderr [2024-11-04 21:26:37] │ warn worker stderr More info and automated migrator: https://sass-lang.com/d/slash-div [2024-11-04 21:26:37] │ warn worker stderr [2024-11-04 21:26:37] │ warn worker stderr ╷ [2024-11-04 21:26:37] │ warn worker stderr 94 │ padding: $euiSizeXS / 2 0 0 $euiSizeXS; [2024-11-04 21:26:37] │ warn worker stderr │ ^^^^^^^^^^^^^^ [2024-11-04 21:26:37] │ warn worker stderr ╵ [2024-11-04 21:26:37] │ warn worker stderr file:///home/tim/kibana/src/plugins/unified_doc_viewer/public/components/doc_viewer_table/table.scss 94:14 root stylesheet [2024-11-04 21:26:37] │ warn worker stderr [2024-11-04 21:35:27] │ warn worker stderr DEPRECATION WARNING: Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0. [2024-11-04 21:35:27] │ warn worker stderr [2024-11-04 21:35:27] │ warn worker stderr Recommendation: math.div($euiSizeM, 2) or calc($euiSizeM / 2) [2024-11-04 21:35:27] │ warn worker stderr [2024-11-04 21:35:27] │ warn worker stderr More info and automated migrator: https://sass-lang.com/d/slash-div [2024-11-04 21:35:27] │ warn worker stderr [2024-11-04 21:35:27] │ warn worker stderr ╷ [2024-11-04 21:35:27] │ warn worker stderr 11 │ padding-block: $euiSizeM / 2; [2024-11-04 21:35:27] │ warn worker stderr │ ^^^^^^^^^^^^^ [2024-11-04 21:35:27] │ warn worker stderr ╵ [2024-11-04 21:35:27] │ warn worker stderr file:///home/tim/kibana/src/plugins/unified_search/public/filter_bar/filter_item/filter_item.scss 11:18 root stylesheet ``` (cherry picked from commit 7a3a2b3)
- Loading branch information