手机端适配页面样式调整
This commit is contained in:
@@ -182,21 +182,21 @@ export default function RechargeModal(props: RechargeModelProps) {
|
||||
value="20"
|
||||
label="20元"
|
||||
compare={String(field.value)}
|
||||
className="flex-1"
|
||||
className="flex-1 max-sm:text-sm max-sm:px-0"
|
||||
/>
|
||||
<FormOption
|
||||
id={`${id}-50`}
|
||||
value="50"
|
||||
label="50元"
|
||||
compare={String(field.value)}
|
||||
className="flex-1"
|
||||
className="flex-1 max-sm:text-sm max-sm:px-0"
|
||||
/>
|
||||
<FormOption
|
||||
id={`${id}-100`}
|
||||
value="100"
|
||||
label="100元"
|
||||
compare={String(field.value)}
|
||||
className="flex-1"
|
||||
className="flex-1 max-sm:text-sm max-sm:px-0"
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -206,21 +206,21 @@ export default function RechargeModal(props: RechargeModelProps) {
|
||||
value="200"
|
||||
label="200元"
|
||||
compare={String(field.value)}
|
||||
className="flex-1"
|
||||
className="flex-1 max-sm:text-sm max-sm:px-0"
|
||||
/>
|
||||
<FormOption
|
||||
id={`${id}-500`}
|
||||
value="500"
|
||||
label="500元"
|
||||
compare={String(field.value)}
|
||||
className="flex-1"
|
||||
className="flex-1 max-sm:text-sm max-sm:px-0"
|
||||
/>
|
||||
<FormOption
|
||||
id={`${id}-1000`}
|
||||
value="1000"
|
||||
label="1000元"
|
||||
compare={String(field.value)}
|
||||
className="flex-1"
|
||||
className="flex-1 max-sm:text-sm max-sm:px-0"
|
||||
/>
|
||||
</div>
|
||||
</RadioGroup>
|
||||
|
||||
@@ -30,7 +30,7 @@ function Alert({
|
||||
<div
|
||||
data-slot="alert"
|
||||
role="alert"
|
||||
className={merge(alertVariants({variant}), className)}
|
||||
className={merge(alertVariants({variant}), className, 'py-0')}
|
||||
{...props}
|
||||
/>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user