mirror of
https://github.com/iib0011/omni-tools.git
synced 2025-11-14 11:58:33 +05:30
chore: responsive improvements
This commit is contained in:
parent
80baf64ad1
commit
dbaf482a7e
1 changed files with 3 additions and 3 deletions
|
|
@ -241,7 +241,7 @@ export default async function makeTool(
|
||||||
{calcData.presets?.map((preset) => (
|
{calcData.presets?.map((preset) => (
|
||||||
<Grid item xs={12} key={preset.title}>
|
<Grid item xs={12} key={preset.title}>
|
||||||
<Stack
|
<Stack
|
||||||
direction={'row'}
|
direction={{ xs: 'column', md: 'row' }}
|
||||||
spacing={2}
|
spacing={2}
|
||||||
alignItems={'center'}
|
alignItems={'center'}
|
||||||
justifyContent={'space-between'}
|
justifyContent={'space-between'}
|
||||||
|
|
@ -255,7 +255,7 @@ export default async function makeTool(
|
||||||
'<custom>',
|
'<custom>',
|
||||||
...Object.keys(preset.source.data).sort()
|
...Object.keys(preset.source.data).sort()
|
||||||
]}
|
]}
|
||||||
sx={{ width: 300 }}
|
sx={{ width: '80%' }}
|
||||||
onChange={(event, newValue) => {
|
onChange={(event, newValue) => {
|
||||||
handleSelectedPresetChange(
|
handleSelectedPresetChange(
|
||||||
preset.title,
|
preset.title,
|
||||||
|
|
@ -343,7 +343,7 @@ export default async function makeTool(
|
||||||
spacing={2}
|
spacing={2}
|
||||||
alignItems="center"
|
alignItems="center"
|
||||||
>
|
>
|
||||||
<Typography sx={{ minWidth: 120 }}>
|
<Typography sx={{ minWidth: '8%' }}>
|
||||||
{alt.title}
|
{alt.title}
|
||||||
</Typography>
|
</Typography>
|
||||||
<Box sx={{ flexGrow: 1 }}>
|
<Box sx={{ flexGrow: 1 }}>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue