Skip to content

Commit

Permalink
💄 style: fix mobile padding of plugin dev modal
Browse files Browse the repository at this point in the history
  • Loading branch information
arvinxx committed Dec 16, 2023
1 parent b6f8c16 commit 7f7070a
Showing 1 changed file with 28 additions and 28 deletions.
56 changes: 28 additions & 28 deletions src/features/PluginDevModal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -134,35 +134,35 @@ const DevModal = memo<DevModalProps>(
showIcon
type={'info'}
/>
<Segmented
block
onChange={(e) => {
setConfigMode(e as any);
}}
options={[
{
label: t('dev.manifest.mode.url'),
value: 'url',
},
{
disabled: true,
label: (
<Tooltip title={t('dev.manifest.mode.local-tooltip')}>
{t('dev.manifest.mode.local')}
</Tooltip>
),
value: 'local',
},
]}
/>
<Flexbox>
{configMode === 'url' ? (
<UrlManifestForm form={form} isEditMode={mode === 'edit'} />
) : null}
<Divider />
<PluginPreview form={form} />
</Flexbox>
</MobilePadding>
<Segmented
block
onChange={(e) => {
setConfigMode(e as any);
}}
options={[
{
label: t('dev.manifest.mode.url'),
value: 'url',
},
{
disabled: true,
label: (
<Tooltip title={t('dev.manifest.mode.local-tooltip')}>
{t('dev.manifest.mode.local')}
</Tooltip>
),
value: 'local',
},
]}
/>
<Flexbox>
{configMode === 'url' ? (
<UrlManifestForm form={form} isEditMode={mode === 'edit'} />
) : null}
<Divider />
<PluginPreview form={form} />
</Flexbox>
</Flexbox>
</Modal>
</Form.Provider>
Expand Down

0 comments on commit 7f7070a

Please sign in to comment.