Skip to content

Commit

Permalink
[8.x] [Discover] Fix SASS mixed-declations deprecation warnings (#193001
Browse files Browse the repository at this point in the history
) (#193198)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[Discover] Fix SASS mixed-declations deprecation warnings
(#193001)](#193001)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Julia
Rechkunova","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-09-17T16:14:17Z","message":"[Discover]
Fix SASS mixed-declations deprecation warnings (#193001)\n\n- Closes
https://github.com/elastic/kibana/issues/190890\r\n- Closes
https://github.com/elastic/kibana/issues/190888\r\n- Closes
https://github.com/elastic/kibana/issues/190889\r\n- Closes
https://github.com/elastic/kibana/issues/190891","sha":"bdac358b5eddb17fba1f2d2f76e777b28db361ff","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:DataDiscovery","backport:prev-minor"],"title":"[Discover]
Fix SASS mixed-declations deprecation
warnings","number":193001,"url":"https://github.com/elastic/kibana/pull/193001","mergeCommit":{"message":"[Discover]
Fix SASS mixed-declations deprecation warnings (#193001)\n\n- Closes
https://github.com/elastic/kibana/issues/190890\r\n- Closes
https://github.com/elastic/kibana/issues/190888\r\n- Closes
https://github.com/elastic/kibana/issues/190889\r\n- Closes
https://github.com/elastic/kibana/issues/190891","sha":"bdac358b5eddb17fba1f2d2f76e777b28db361ff"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/193001","number":193001,"mergeCommit":{"message":"[Discover]
Fix SASS mixed-declations deprecation warnings (#193001)\n\n- Closes
https://github.com/elastic/kibana/issues/190890\r\n- Closes
https://github.com/elastic/kibana/issues/190888\r\n- Closes
https://github.com/elastic/kibana/issues/190889\r\n- Closes
https://github.com/elastic/kibana/issues/190891","sha":"bdac358b5eddb17fba1f2d2f76e777b28db361ff"}}]}]
BACKPORT-->

Co-authored-by: Julia Rechkunova <[email protected]>
  • Loading branch information
kibanamachine and jughosta authored Sep 17, 2024
1 parent 0b26510 commit b91fc6e
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 10 deletions.
3 changes: 2 additions & 1 deletion packages/kbn-dom-drag-drop/src/sass/draggable.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,10 @@

&:focus,
&:focus-within {
@include euiFocusRing;
pointer-events: none;
z-index: $domDragDropZLevel2;

@include euiFocusRing;
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
block-size: $euiSizeXL;
border: $euiBorderThin;
border-radius: $euiBorderRadiusSmall;
transition: transform $euiAnimSpeedNormal ease-in-out;

// making the icons larger than the default size
& svg {
Expand All @@ -18,7 +19,6 @@
}

// add toolbar control animation
transition: transform $euiAnimSpeedNormal ease-in-out;
&:hover {
transform: translateY(-1px);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@
*/

.unifiedFieldList__fieldListGrouped {
@include euiOverflowShadow;
@include euiScrollBar;
margin-left: -$euiSize; /* 1 */
position: relative;
flex-grow: 1;
overflow: auto;

@include euiOverflowShadow;
@include euiScrollBar;
}

.unifiedFieldList__fieldListGrouped__container {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,21 @@ discover-app {
}

.dscPage {
flex-direction: column;
overflow: hidden;
padding: 0;

@include euiBreakpoint('m', 'l', 'xl') {
@include kibanaFullBodyHeight();

&.dscPage--topNavInline {
@include kibanaFullBodyHeight($euiSize * 3);
}
}
}

flex-direction: column;
.dscPage .dscPageBody {
overflow: hidden;
padding: 0;

.dscPageBody {
overflow: hidden;
}
}

.dscPageBody__inner {
Expand Down

0 comments on commit b91fc6e

Please sign in to comment.