mirror of
https://github.com/grafana/grafana.git
synced 2025-07-29 17:12:29 +08:00
NestedFolderPicker: Truncate overflowing text, fix selected state (#71444)
* truncate overflowing text, fix selected state * ensure search state is always clean when opening the overlay
This commit is contained in:
@ -205,13 +205,14 @@ export const getButtonStyles = (props: StyleProps) => {
|
||||
: css({
|
||||
marginRight: theme.spacing(padding / 2),
|
||||
}),
|
||||
content: css`
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
white-space: nowrap;
|
||||
height: 100%;
|
||||
`,
|
||||
content: css({
|
||||
display: 'flex',
|
||||
flexDirection: 'row',
|
||||
alignItems: 'center',
|
||||
whiteSpace: 'nowrap',
|
||||
overflow: 'hidden',
|
||||
height: '100%',
|
||||
}),
|
||||
};
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user