Skip to content

Commit

Permalink
data grid full screen
Browse files Browse the repository at this point in the history
  • Loading branch information
Michail Yasonik committed Dec 18, 2019
1 parent 904e349 commit 5440b05
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
4 changes: 4 additions & 0 deletions src/core/public/chrome/ui/header/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
z-index: 10;
}

.euiDataGrid__restrictBody .chrHeaderWrapper {
z-index: 0;
}

.chrHeaderWrapper ~ .app-wrapper:not(.hidden-chrome) {
top: $euiHeaderChildSize;
left: $euiHeaderChildSize;
Expand Down
2 changes: 0 additions & 2 deletions src/legacy/core_plugins/kibana/public/discover/_discover.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,9 @@ discover-app {
padding-right: $euiSizeS;
}

// SASSTODO: replace the z-index value with a variable
.dscWrapper {
padding-right: $euiSizeS;
padding-left: 21px;
z-index: 1;
}

@include euiPanel('.dscWrapper__content');
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
// SASSTODO: Can't rename main class
// because it's also the name of the angular directive
.collapsible-sidebar {
position: relative;
z-index: $kbnDiscoverSidebarDepth;

.kbnCollapsibleSidebar__collapseButton {
position: absolute;
top: 0;
right: -21px;
cursor: pointer;
z-index: -1;
z-index: 1;
}

&.closed {
Expand All @@ -25,12 +22,16 @@
visibility: visible;

.chevron-cont:before {
content: "\F138";
content: '\F138';
}
}
}
}

.visEditor__content .collapsible-sidebar {
position: relative;
}

@include euiBreakpoint('xs', 's', 'm') {
.collapsible-sidebar {
&.closed {
Expand Down

0 comments on commit 5440b05

Please sign in to comment.