Skip to content

Commit

Permalink
[Core UI] Kibana Overview Page Style Fixes, Part 3 (#78970)
Browse files Browse the repository at this point in the history
* fix overview cards not stretching height equally

* change var name for better specificity
  • Loading branch information
MichaelMarcialis authored Sep 30, 2020
1 parent d1d7759 commit 4fc9c42
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions src/plugins/kibana_overview/public/components/_overview.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/

// Local page variables
$pageWidth: 1200px;
$kbnOverviewPageWidth: 1200px;

.kbnOverviewWrapper {
background-color: $euiColorEmptyShade;
Expand All @@ -34,7 +34,7 @@ $pageWidth: 1200px;

.kbnOverviewHeader__inner {
margin: 0 auto;
max-width: $pageWidth;
max-width: $kbnOverviewPageWidth;
padding: $euiSizeXL $euiSize;
}

Expand All @@ -46,9 +46,16 @@ $pageWidth: 1200px;

.kbnOverviewContent {
margin: 0 auto;
max-width: $pageWidth;
max-width: $kbnOverviewPageWidth;
padding: $euiSizeXL $euiSize;
width: 100%;

// Ensure card heights are stretched equally when wrapped with this element
.kbnRedirectCrossAppLinks {
display: flex;
flex: 1;
flex-direction: column;
}
}

// Prevent children from rendering as flex items
Expand Down

0 comments on commit 4fc9c42

Please sign in to comment.