Преглед на файлове

Create schema view is too wide (#2618)

* Create schema view is too wide

* renove inputWidth props

* fixed form container width

Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com>
Hrant Abrahamyan преди 2 години
родител
ревизия
3733729a55
променени са 2 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 1 0
      kafka-ui-react-app/src/components/Schemas/New/New.styled.ts
  2. 1 1
      kafka-ui-react-app/src/components/Schemas/New/New.tsx

+ 1 - 0
kafka-ui-react-app/src/components/Schemas/New/New.styled.ts

@@ -6,6 +6,7 @@ export const Form = styled.form`
   display: flex;
   flex-direction: column;
   gap: 16px;
+  width: 50%;
 
   & > button {
     align-self: flex-start;

+ 1 - 1
kafka-ui-react-app/src/components/Schemas/New/New.tsx

@@ -120,7 +120,7 @@ const New: React.FC = () => {
                 name={name}
                 value={value}
                 onChange={onChange}
-                minWidth="50%"
+                minWidth="100%"
                 disabled={isSubmitting}
                 options={SchemaTypeOptions}
               />