File tree Expand file tree Collapse file tree
x-pack/plugins/lens/public Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -53,16 +53,39 @@ export function ReducedSamplingSectionEntries({
5353 { layerPalette ? (
5454 < EuiFlexItem grow = { false } >
5555 { layerPalette . length === 1 ? (
56- < EuiIcon color = { layerPalette [ 0 ] } type = "stopFilled" />
56+ < EuiIcon
57+ color = { layerPalette [ 0 ] }
58+ type = "stopFilled"
59+ css = { css `
60+ margin-top : 2px ;
61+ ` }
62+ />
5763 ) : (
58- < EuiIcon type = "color" />
64+ < EuiIcon
65+ type = "color"
66+ css = { css `
67+ margin-top : 2px ;
68+ ` }
69+ />
5970 ) }
6071 </ EuiFlexItem >
6172 ) : null }
62- < EuiFlexItem grow = { Boolean ( layerPalette ) } >
73+ < EuiFlexItem
74+ grow = { Boolean ( layerPalette ) }
75+ css = { css `
76+ width : 150px ;
77+ ` }
78+ >
6379 < EuiText size = "s" > { layerTitle } </ EuiText >
6480 { layerPalette && layerPalette . length > 1 ? (
65- < EuiColorPaletteDisplay size = "xs" palette = { layerPalette } />
81+ < EuiColorPaletteDisplay
82+ size = "xs"
83+ palette = { layerPalette }
84+ css = { css `
85+ margin-top : 4px ;
86+ width : 150px ;
87+ ` }
88+ />
6689 ) : null }
6790 </ EuiFlexItem >
6891 < EuiFlexItem
Original file line number Diff line number Diff line change @@ -77,19 +77,21 @@ export const EmbeddableFeatureBadge = ({ messages }: { messages: UserMessage[] }
7777 bottomPadding = euiTheme . size . base ;
7878 }
7979 return (
80- < aside
81- key = { `${ shortMessage } -${ index } ` }
82- css = { css `
83- padding : ${ ! isFirstItem ? 0 : euiTheme . size . base } ${ euiTheme . size . base }
84- ${ bottomPadding } ;
85- ` }
86- >
80+ < >
8781 { index ? < EuiHorizontalRule margin = "s" /> : null }
88- < EuiTitle size = "xxs" css = { css `color= ${ euiTheme . colors . title } ` } >
89- < h3 > { shortMessage } </ h3 >
90- </ EuiTitle >
91- < ul className = "lnsEmbeddablePanelFeatureList" > { longMessage } </ ul >
92- </ aside >
82+ < aside
83+ key = { `${ shortMessage } -${ index } ` }
84+ css = { css `
85+ padding : ${ ! isFirstItem ? 0 : euiTheme . size . base } ${ euiTheme . size . base }
86+ ${ bottomPadding } ;
87+ ` }
88+ >
89+ < EuiTitle size = "xxs" css = { css `color= ${ euiTheme . colors . title } ` } >
90+ < h3 > { shortMessage } </ h3 >
91+ </ EuiTitle >
92+ < ul className = "lnsEmbeddablePanelFeatureList" > { longMessage } </ ul >
93+ </ aside >
94+ </ >
9395 ) ;
9496 } ) }
9597 </ div >
Original file line number Diff line number Diff line change @@ -52,16 +52,39 @@ export function IgnoredGlobalFiltersEntries({
5252 { layerPalette ? (
5353 < EuiFlexItem grow = { false } >
5454 { layerPalette . length === 1 ? (
55- < EuiIcon color = { layerPalette [ 0 ] } type = "stopFilled" />
55+ < EuiIcon
56+ color = { layerPalette [ 0 ] }
57+ type = "stopFilled"
58+ css = { css `
59+ margin-top : 2px ;
60+ ` }
61+ />
5662 ) : (
57- < EuiIcon type = "color" />
63+ < EuiIcon
64+ type = "color"
65+ css = { css `
66+ margin-top : 2px ;
67+ ` }
68+ />
5869 ) }
5970 </ EuiFlexItem >
6071 ) : null }
61- < EuiFlexItem grow = { Boolean ( layerPalette ) } >
72+ < EuiFlexItem
73+ grow = { Boolean ( layerPalette ) }
74+ css = { css `
75+ width : 150px ;
76+ ` }
77+ >
6278 < EuiText size = "s" > { layerTitle } </ EuiText >
6379 { layerPalette && layerPalette . length > 1 ? (
64- < EuiColorPaletteDisplay size = "xs" palette = { layerPalette } />
80+ < EuiColorPaletteDisplay
81+ size = "xs"
82+ palette = { layerPalette }
83+ css = { css `
84+ margin-top : 4px ;
85+ width : 150px ;
86+ ` }
87+ />
6588 ) : null }
6689 </ EuiFlexItem >
6790 </ EuiFlexGroup >
You can’t perform that action at this time.
0 commit comments