Skip to content

Commit

Permalink
Fix styles loading order (#83299) (#83513)
Browse files Browse the repository at this point in the history
Co-authored-by: Kibana Machine <[email protected]>

Co-authored-by: Kibana Machine <[email protected]>
  • Loading branch information
Daniil and kibanamachine authored Nov 17, 2020
1 parent c1b42f6 commit 03f9837
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion src/plugins/timelion/public/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
// styles for timelion visualization are lazy loaded only while a vis is opened
// this will duplicate styles only if both Timelion app and timelion visualization are loaded
// could be left here as it is since the Timelion app is deprecated
@import '../../vis_type_timelion/public/components/index.scss';
@import '../../vis_type_timelion/public/components/timelion_vis.scss';
2 changes: 0 additions & 2 deletions src/plugins/vis_type_timelion/public/components/index.scss

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,3 @@
white-space: nowrap;
font-weight: $euiFontWeightBold;
}

.visEditor--timelion {
.visEditorSidebar__timelionOptions {
flex: 1 1 auto;
display: flex;
flex-direction: column;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ import { tickFormatters } from '../helpers/tick_formatters';
import { generateTicksProvider } from '../helpers/tick_generator';
import { TimelionVisDependencies } from '../plugin';

import './index.scss';
import './timelion_vis.scss';

interface CrosshairPlot extends jquery.flot.plot {
setCrosshair: (pos: Position) => void;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,11 @@
max-height: $euiSize * 15;
}
}

.visEditor--timelion {
.visEditorSidebar__timelionOptions {
flex: 1 1 auto;
display: flex;
flex-direction: column;
}
}
2 changes: 2 additions & 0 deletions src/plugins/vis_type_timelion/public/timelion_options.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ import { TimelionVisParams } from './timelion_vis_fn';
import { TimelionInterval, TimelionExpressionInput } from './components';
import { TimelionVisDependencies } from './plugin';

import './timelion_options.scss';

export type TimelionOptionsProps = VisOptionsProps<TimelionVisParams>;

function TimelionOptions({
Expand Down

0 comments on commit 03f9837

Please sign in to comment.