Преглед на файлове

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};
         `}
       >