Skip to content

Commit

Permalink
chore: responsivness
Browse files Browse the repository at this point in the history
  • Loading branch information
valeriocomo committed Nov 27, 2024
1 parent a04cbfb commit aa98c8e
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions src/app/components/Editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -234,14 +234,14 @@ export default function Editor() {
{languages.map((lang) => (
<div key={`description.${lang}`}>
<Row xs="1" md="2">
{isDeprecatedFieldVisible((`description.${lang}.genericName` as never)) &&
<Col xxl={{size:12}}>
<EditorDescriptionInput<"genericName">
fieldName="genericName"
lang={lang}
deprecated
/>
</Col>
{isDeprecatedFieldVisible((`description.${lang}.genericName` as never)) &&
<Col md={{size:12}} xxl={{ size: 12 }}>
<EditorDescriptionInput<"genericName">
fieldName="genericName"
lang={lang}
deprecated
/>
</Col>
}
<Col>
<EditorDescriptionInput<"localisedName">
Expand Down Expand Up @@ -293,20 +293,20 @@ export default function Editor() {
required
/>
</Col>
{isDeprecatedFieldVisible('inputTypes') && <Col xxl={{ size: 12 }}>
{isDeprecatedFieldVisible('inputTypes') && <Col md={{size:12}} xxl={{ size: 12 }}>
<EditorMultiselect<"inputTypes">
fieldName="inputTypes"
data={Object.keys(mimeTypes).map(o => ({ text: o, value: o }))}
/>
</Col>}
{isDeprecatedFieldVisible('outputTypes') && <Col xxl={{ size: 12 }}>
{isDeprecatedFieldVisible('outputTypes') && <Col md={{size:12}} xxl={{ size: 12 }}>
<EditorMultiselect<"outputTypes">
fieldName="outputTypes"
data={Object.keys(mimeTypes).map(o => ({ text: o, value: o }))}
/>
</Col>}
{isDeprecatedFieldVisible('monochromeLogo') &&
<Col xxl={{ size: 12 }}>
{isDeprecatedFieldVisible('monochromeLogo') &&
<Col md={{size:12}} xxl={{ size: 12 }}>
<EditorInput<"monochromeLogo"> fieldName="monochromeLogo" deprecated />
</Col>
}
Expand Down Expand Up @@ -358,7 +358,7 @@ export default function Editor() {
/>
</Col>
{isDeprecatedFieldVisible("legal.authorsFile") &&
<Col xxl={{ size: 12 }}>
<Col md={{size:12}} xxl={{ size: 12 }}>
<EditorInput<"legal.authorsFile"> fieldName="legal.authorsFile" deprecated />
</Col>
}
Expand Down

0 comments on commit aa98c8e

Please sign in to comment.