From 06864984a1bb68674b4c73e2bb3346a8bd9e547d Mon Sep 17 00:00:00 2001 From: Kirill Morozov Date: Tue, 17 May 2022 12:04:01 +0300 Subject: [PATCH] Border radius fixed (#1985) --- .../common/Metrics/Metrics.styled.tsx | 23 ++----------------- 1 file changed, 2 insertions(+), 21 deletions(-) diff --git a/kafka-ui-react-app/src/components/common/Metrics/Metrics.styled.tsx b/kafka-ui-react-app/src/components/common/Metrics/Metrics.styled.tsx index 33e8265526..7a3bb44dbe 100644 --- a/kafka-ui-react-app/src/components/common/Metrics/Metrics.styled.tsx +++ b/kafka-ui-react-app/src/components/common/Metrics/Metrics.styled.tsx @@ -38,27 +38,8 @@ export const IndicatorsWrapper = styled.div` display: flex; gap: 1px; flex-wrap: wrap; - - > ${IndicatorWrapper} { - &:first-child { - border-top-left-radius: 8px; - border-bottom-left-radius: 8px; - } - - &:last-child { - border-top-right-radius: 8px; - border-bottom-right-radius: 8px; - } - } - - @media screen and (max-width: 1023px) { - > ${IndicatorWrapper} { - &:first-child, - &:last-child { - border-radius: 0; - } - } - } + border-radius: 8px; + overflow: auto; `; export const SectionTitle = styled.h5`