Fix: Show an ellipsis if Query row title is too long (#27648)

* add overflow hidden to titleWrapper

* show ellipsis and css labels for components

* readd drag handle after bad merge

* rewrite userpicker test with rtl

* update test after adding css label to icon component

* fix more tests..
This commit is contained in:
Peter Holmberg
2020-09-21 15:33:50 +02:00
committed by GitHub
parent 1e5309a788
commit 6a14f830ba
16 changed files with 40 additions and 369 deletions
@@ -19,6 +19,7 @@ export interface IconProps extends React.HTMLAttributes<HTMLDivElement> {
const getIconStyles = stylesFactory((theme: GrafanaTheme) => {
return {
container: css`
label: Icon;
display: inline-block;
`,
icon: css`
@@ -119,6 +119,7 @@ const getStyles = stylesFactory(
return {
layout: css`
label: HorizontalGroup;
display: flex;
flex-direction: ${orientation === Orientation.Vertical ? 'column' : 'row'};
flex-wrap: ${wrap ? 'wrap' : 'nowrap'};