瀏覽代碼

Border radius fixed (#1985)

Kirill Morozov 3 年之前
父節點
當前提交
06864984a1
共有 1 個文件被更改,包括 2 次插入21 次删除
  1. 2 21
      kafka-ui-react-app/src/components/common/Metrics/Metrics.styled.tsx

+ 2 - 21
kafka-ui-react-app/src/components/common/Metrics/Metrics.styled.tsx

@@ -38,27 +38,8 @@ export const IndicatorsWrapper = styled.div`
   display: flex;
   display: flex;
   gap: 1px;
   gap: 1px;
   flex-wrap: wrap;
   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`
 export const SectionTitle = styled.h5`