fix: icon vertical align

This commit is contained in:
Zephyruso 2023-09-05 21:31:41 +08:00
parent d908776bf9
commit c6f3beec35

View File

@ -88,21 +88,19 @@ export default () => {
<div class="break-all">
{rulesProvider.name} ({rulesProvider.ruleCount})
</div>
<div class="h-6">
<Button
class="btn-circle btn-sm mr-2"
onClick={(e) =>
onUpdateProviderClick(e, rulesProvider.name)
}
>
<IconReload
class={twMerge(
updatingMap()[rulesProvider.name] &&
'animate-spin text-success',
)}
/>
</Button>
</div>
<Button
class="btn-circle btn-sm mr-2"
onClick={(e) =>
onUpdateProviderClick(e, rulesProvider.name)
}
>
<IconReload
class={twMerge(
updatingMap()[rulesProvider.name] &&
'animate-spin text-success',
)}
/>
</Button>
</div>
<div class="text-xs text-slate-500">
{rulesProvider.vehicleType} / {rulesProvider.behavior} /