Преглед изворни кода

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 година
родитељ
комит
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};
         `}
       >