forked from opensearch-project/OpenSearch-Dashboards
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes mobile layout (opensearch-project#5195)
Signed-off-by: Ashwin P Chandran <[email protected]> (cherry picked from commit 0ffd2ab)
- Loading branch information
Showing
7 changed files
with
54 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
src/plugins/discover/public/application/components/sidebar/discover_sidebar.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
.dscSideBarFieldListHeader { | ||
padding-left: $euiSizeS; | ||
} | ||
|
||
.dscSidebar__item:hover, | ||
.dscSidebar__item:focus { | ||
background-color: tintOrShade($euiColorPrimary, 90%, 90%); | ||
} |
31 changes: 31 additions & 0 deletions
31
src/plugins/discover/public/application/view_components/canvas/discover_canvas.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,36 @@ | ||
.dscCanvas { | ||
@include euiYScrollWithShadows; | ||
|
||
/* stylelint-disable-next-line */ | ||
container-type: inline-size; // containment context | ||
/* stylelint-disable-next-line */ | ||
container-name: canvas; | ||
height: 100%; | ||
} | ||
|
||
// TopNav styles for the Discover | ||
/* stylelint-disable-next-line */ | ||
@container canvas (max-width: 900px) { | ||
.globalQueryBar { | ||
.osdQueryBar--withDatePicker { | ||
flex-wrap: wrap; | ||
|
||
& > .euiFlexItem { | ||
width: 100% !important; | ||
|
||
&:first-child { | ||
order: 1; | ||
} | ||
} | ||
|
||
.osdQueryBar__datePickerWrapper { | ||
max-width: initial; | ||
width: 100%; | ||
|
||
.euiSuperDatePicker__flexWrapper { | ||
width: auto; | ||
} | ||
} | ||
} | ||
} | ||
} |