From 94587831d58c575541e93158f6e99746f1ee606e Mon Sep 17 00:00:00 2001 From: Lorenzo Blasa Date: Tue, 7 Mar 2023 11:23:20 -0800 Subject: [PATCH] MarkerTimeline hover background color Summary: The hover background colour had complete disregard on the selected theme, both light and dark. This change removes the gradient and instead sets a right hover background. Reviewed By: antonk52 Differential Revision: D43872161 fbshipit-source-id: 4f0bfd97a2cb6bb9ceb7869dd38b37dc68ad6bb7 --- desktop/flipper-plugin/src/ui/MarkerTimeline.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop/flipper-plugin/src/ui/MarkerTimeline.tsx b/desktop/flipper-plugin/src/ui/MarkerTimeline.tsx index f396015ec..82939ff90 100644 --- a/desktop/flipper-plugin/src/ui/MarkerTimeline.tsx +++ b/desktop/flipper-plugin/src/ui/MarkerTimeline.tsx @@ -66,7 +66,7 @@ const Point = styled(Layout.Horizontal)<{ alignItems: 'flex-start', lineHeight: '16px', ':hover': { - background: `linear-gradient(to top, ${theme.black} 0, ${theme.white} 10px)`, + background: theme.selectionBackgroundColor, paddingBottom: 5, zIndex: 2, '> span': {