Skip to content

Commit

Permalink
uptime app icon, mobile header size removed
Browse files Browse the repository at this point in the history
  • Loading branch information
ryankeairns committed Jan 30, 2019
1 parent 46c25f4 commit bdd551c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 25 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
// Size variables
$euiHeaderNavSize: $euiSizeXL + $euiSize;
$euiHeaderNavSizeMobile: $euiHeaderNavSize * .75;
@import '@elastic/eui/src/components/header/variables';

.header-global-wrapper {
width: 100%;
Expand All @@ -10,30 +8,18 @@ $euiHeaderNavSizeMobile: $euiHeaderNavSize * .75;
}

.header-global-wrapper + .app-wrapper:not(.hidden-chrome) {
top: $euiHeaderNavSize;
left: $euiHeaderNavSize;
top: $euiHeaderChildSize;
left: $euiHeaderChildSize;

// HOTFIX: Temporary fix for flyouts not inside portals
// SASSTODO: Find an actual solution
.euiFlyout {
top: $euiHeaderNavSize;
top: $euiHeaderChildSize;
}
}

// Mobile header is smaller
@include euiBreakpoint('xs') {
.header-global-wrapper + .app-wrapper:not(.hidden-chrome) {
top: $euiHeaderNavSizeMobile;
left: 0;

.euiFlyout {
top: $euiHeaderNavSizeMobile;
}
}
}

// Mobile header is smaller
@include euiBreakpoint('s') {
@include euiBreakpoint('xs', 's') {
.header-global-wrapper + .app-wrapper:not(.hidden-chrome) {
left: 0;
}
Expand Down
6 changes: 0 additions & 6 deletions x-pack/plugins/gis/public/_main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,6 @@
overflow: hidden;
}

@include euiBreakpoint('xs') {
#gis-plugin {
height: calc(100vh - #{$euiHeaderChildSizeMobile});
}
}

#react-gis-root {
flex-grow: 1;
display: flex;
Expand Down
1 change: 1 addition & 0 deletions x-pack/plugins/uptime/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export const uptime = (kibana: any) =>
description: 'The description text that will be shown to users in Kibana',
}),
icon: 'plugins/uptime/icons/heartbeat_white.svg',
euiIconType: 'uptimeApp',
title: 'Uptime',
main: 'plugins/uptime/app',
order: 8900,
Expand Down

0 comments on commit bdd551c

Please sign in to comment.