From c3d823e5455efbce98a139d8335ff1c95551a3cd Mon Sep 17 00:00:00 2001 From: Andrew Watkins Date: Tue, 30 Apr 2019 12:41:39 -0700 Subject: [PATCH] fix: notes covered by adjacent cells (#13717) * fix(dashboards): notes being hiddent by adjascent cells * chore(portals): be the change --- ui/src/App.tsx | 6 ++++-- ui/src/{shared/components => portals}/LegendPortal.tsx | 0 ui/src/portals/NotesPortal.tsx | 7 +++++++ ui/src/{shared/components => portals}/TooltipPortal.tsx | 0 ui/src/shared/components/BoxTooltip.tsx | 2 +- ui/src/shared/components/HistogramTooltip.tsx | 2 +- ui/src/shared/components/Legend.tsx | 2 +- ui/src/shared/components/cells/CellHeaderNoteTooltip.scss | 5 ++++- ui/src/shared/components/cells/CellHeaderNoteTooltip.tsx | 8 ++++---- ui/src/style/_variables.scss | 1 + 10 files changed, 23 insertions(+), 10 deletions(-) rename ui/src/{shared/components => portals}/LegendPortal.tsx (100%) create mode 100644 ui/src/portals/NotesPortal.tsx rename ui/src/{shared/components => portals}/TooltipPortal.tsx (100%) diff --git a/ui/src/App.tsx b/ui/src/App.tsx index 9a6b2b628f..0edeaa819f 100644 --- a/ui/src/App.tsx +++ b/ui/src/App.tsx @@ -2,8 +2,9 @@ import React, {SFC, ReactChildren} from 'react' import RightClickLayer from 'src/clockface/components/right_click_menu/RightClickLayer' import Nav from 'src/pageLayout' -import LegendPortal from 'src/shared/components/LegendPortal' -import TooltipPortal from 'src/shared/components/TooltipPortal' +import LegendPortal from 'src/portals/LegendPortal' +import TooltipPortal from 'src/portals/TooltipPortal' +import NotesPortal from 'src/portals/NotesPortal' import Notifications from 'src/shared/containers/Notifications' interface Props { @@ -16,6 +17,7 @@ const App: SFC = ({children}) => (