Browse Source

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 years ago
parent
commit
3733729a55

+ 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}
               />