mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
parent
a5cdac60de
commit
0237657568
1 changed files with 11 additions and 12 deletions
|
@ -170,24 +170,23 @@ const ValueInner = euiStyled.button`
|
|||
}
|
||||
`;
|
||||
|
||||
const Value = euiStyled<ColorProps, 'div'>('div')`
|
||||
font-weight: bold;
|
||||
font-size: 0.9em;
|
||||
const SquareTextContent = euiStyled<ColorProps, 'div'>('div')`
|
||||
text-align: center;
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
flex: 1 0 auto;
|
||||
line-height: 1.2em;
|
||||
color: ${props => readableColor(props.color)};
|
||||
`;
|
||||
|
||||
const Label = euiStyled<ColorProps, 'div'>('div')`
|
||||
text-overflow: ellipsis;
|
||||
const Value = euiStyled(SquareTextContent)`
|
||||
font-weight: bold;
|
||||
font-size: 0.9em;
|
||||
line-height: 1.2em;
|
||||
`;
|
||||
|
||||
const Label = euiStyled(SquareTextContent)`
|
||||
font-size: 0.7em;
|
||||
margin-bottom: 0.7em;
|
||||
text-align: center;
|
||||
width: 100%;
|
||||
flex: 1 0 auto;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
color: ${props => readableColor(props.color)};
|
||||
`;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue