feat(config): three columns on small screen device, five on larger

This commit is contained in:
kunish 2023-09-21 22:57:33 +08:00
parent 840785b212
commit f4e82e0e27
No known key found for this signature in database
GPG Key ID: 647A12B4F782C430

View File

@ -197,7 +197,7 @@ const ConfigForm = () => {
<option value={MODE_OPTIONS.Direct}>{t('direct')}</option> <option value={MODE_OPTIONS.Direct}>{t('direct')}</option>
</select> </select>
<form class="grid grid-cols-2 gap-2" use:form={form}> <form class="grid grid-cols-3 gap-2 sm:grid-cols-5" use:form={form}>
<For each={portList}> <For each={portList}>
{(item) => ( {(item) => (
<div class="form-control"> <div class="form-control">