From bb6abb2e9ecc5502d6f62702e9fbbf13316ac246 Mon Sep 17 00:00:00 2001 From: Alexander Zobnin Date: Mon, 24 Dec 2018 20:03:26 +0300 Subject: [PATCH] problems panel: styles tweaks --- .../components/ProblemTimeline.tsx | 6 +- src/sass/_panel-problems.scss | 58 ++++++++++++++----- src/sass/_variables.dark.scss | 7 ++- src/sass/_variables.light.scss | 7 ++- 4 files changed, 57 insertions(+), 21 deletions(-) diff --git a/src/panel-triggers/components/ProblemTimeline.tsx b/src/panel-triggers/components/ProblemTimeline.tsx index 36d29fd..77a39b4 100644 --- a/src/panel-triggers/components/ProblemTimeline.tsx +++ b/src/panel-triggers/components/ProblemTimeline.tsx @@ -5,7 +5,7 @@ import { GFTimeRange, ZBXEvent } from 'panel-triggers/types'; const DEFAULT_OK_COLOR = 'rgb(56, 189, 113)'; const DEFAULT_PROBLEM_COLOR = 'rgb(215, 0, 0)'; -const EVENT_POINT_SIZE = 20; +const EVENT_POINT_SIZE = 16; const INNER_POINT_SIZE = 0.6; const HIGHLIGHTED_POINT_SIZE = 1.1; const EVENT_REGION_HEIGHT = Math.round(EVENT_POINT_SIZE * 0.6); @@ -118,7 +118,7 @@ export default class ProblemTimeline extends PureComponent +