Просмотр исходного кода

Explore: Fixes Legend overflow in splitted view (#18396)

* Fix: Fixes Legend overflow in Explore splitted view

* Chore: Removes overflow-x because of accessibility POV and uses pre-wrap instead
Hugo Häggmark 6 лет назад
Родитель
Сommit
054f908f2d
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      packages/grafana-ui/src/components/Graph/GraphLegendItem.tsx

+ 1 - 1
packages/grafana-ui/src/components/Graph/GraphLegendItem.tsx

@@ -44,7 +44,7 @@ export const GraphLegendListItem: React.FunctionComponent<GraphLegendItemProps>
         }}
         className={css`
           cursor: pointer;
-          white-space: nowrap;
+          white-space: pre-wrap;
           color: ${!item.isVisible && theme.colors.linkDisabled};
         `}
       >