浏览代码

Fix specs (#1267)

Oleg Shur 3 年之前
父节点
当前提交
a170cce4fa

+ 1 - 0
kafka-ui-react-app/src/components/Connect/New/__tests__/__snapshots__/New.spec.tsx.snap

@@ -58,6 +58,7 @@ Array [
   padding-left: 12px;
   padding-right: 16px;
   color: #171A1C;
+  min-width: auto;
   background-image: url('data:image/svg+xml,%3Csvg width="10" height="6" viewBox="0 0 10 6" fill="none" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M1 1L5 5L9 1" stroke="%23454F54"/%3E%3C/svg%3E%0A') !important;
   background-repeat: no-repeat !important;
   background-position-x: calc(100% - 8px) !important;

+ 2 - 0
kafka-ui-react-app/src/components/Schemas/New/__test__/__snapshots__/New.spec.tsx.snap

@@ -101,6 +101,7 @@ exports[`New View matches snapshot 1`] = `
   padding-left: 12px;
   padding-right: 16px;
   color: #171A1C;
+  min-width: auto;
   background-image: url('data:image/svg+xml,%3Csvg width="10" height="6" viewBox="0 0 10 6" fill="none" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M1 1L5 5L9 1" stroke="%23454F54"/%3E%3C/svg%3E%0A') !important;
   background-repeat: no-repeat !important;
   background-position-x: calc(100% - 8px) !important;
@@ -639,6 +640,7 @@ exports[`New View matches snapshot 1`] = `
   padding-left: 12px;
   padding-right: 16px;
   color: #171A1C;
+  min-width: auto;
   background-image: url('data:image/svg+xml,%3Csvg width="10" height="6" viewBox="0 0 10 6" fill="none" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M1 1L5 5L9 1" stroke="%23454F54"/%3E%3C/svg%3E%0A') !important;
   background-repeat: no-repeat !important;
   background-position-x: calc(100% - 8px) !important;

+ 2 - 0
kafka-ui-react-app/src/components/Topics/Topic/Details/Messages/Filters/__tests__/__snapshots__/Filters.spec.tsx.snap

@@ -190,6 +190,7 @@ exports[`Filters component matches the snapshot 1`] = `
   padding-left: 12px;
   padding-right: 16px;
   color: #171A1C;
+  min-width: auto;
   background-image: url('data:image/svg+xml,%3Csvg width="10" height="6" viewBox="0 0 10 6" fill="none" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M1 1L5 5L9 1" stroke="%23454F54"/%3E%3C/svg%3E%0A') !important;
   background-repeat: no-repeat !important;
   background-position-x: calc(100% - 8px) !important;
@@ -823,6 +824,7 @@ exports[`Filters component when fetching matches the snapshot 1`] = `
   padding-left: 12px;
   padding-right: 16px;
   color: #171A1C;
+  min-width: auto;
   background-image: url('data:image/svg+xml,%3Csvg width="10" height="6" viewBox="0 0 10 6" fill="none" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M1 1L5 5L9 1" stroke="%23454F54"/%3E%3C/svg%3E%0A') !important;
   background-repeat: no-repeat !important;
   background-position-x: calc(100% - 8px) !important;

+ 2 - 0
kafka-ui-react-app/src/components/common/Select/__tests__/__snapshots__/Select.spec.tsx.snap

@@ -21,6 +21,7 @@ exports[`Custom Select when live matches the snapshot 1`] = `
   padding-left: 36px;
   padding-right: 16px;
   color: #171A1C;
+  min-width: auto;
   background-image: url('data:image/svg+xml,%3Csvg width="10" height="6" viewBox="0 0 10 6" fill="none" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M1 1L5 5L9 1" stroke="%23454F54"/%3E%3C/svg%3E%0A') !important;
   background-repeat: no-repeat !important;
   background-position-x: calc(100% - 8px) !important;
@@ -97,6 +98,7 @@ exports[`Custom Select when non-live matches the snapshot 1`] = `
   padding-left: 12px;
   padding-right: 16px;
   color: #171A1C;
+  min-width: auto;
   background-image: url('data:image/svg+xml,%3Csvg width="10" height="6" viewBox="0 0 10 6" fill="none" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M1 1L5 5L9 1" stroke="%23454F54"/%3E%3C/svg%3E%0A') !important;
   background-repeat: no-repeat !important;
   background-position-x: calc(100% - 8px) !important;