mirror of
https://github.com/MadeBaruna/paimon-moe.git
synced 2024-11-30 12:11:51 +01:00
Fix styling on other browser
This commit is contained in:
parent
941be01185
commit
06c531dc77
1 changed files with 2 additions and 2 deletions
|
@ -183,7 +183,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-2 xl:grid-cols-4 gap-2 flex-1 pt-20 lg:pt-2"
|
class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-2 xl:grid-cols-4 gap-2 flex-1 pt-20 lg:pt-2"
|
||||||
style="height: fit-content;"
|
style="height: max-content;"
|
||||||
bind:this={inventoryContainer}
|
bind:this={inventoryContainer}
|
||||||
>
|
>
|
||||||
{#each categoryData[`${active.name}-${active.type}`].items as item (item.id)}
|
{#each categoryData[`${active.name}-${active.type}`].items as item (item.id)}
|
||||||
|
@ -200,7 +200,7 @@
|
||||||
<p class="text-sm flex-1">
|
<p class="text-sm flex-1">
|
||||||
{item.name}
|
{item.name}
|
||||||
</p>
|
</p>
|
||||||
<div class="flex items-center bg-black bg-opacity-25 rounded-md" style="width: fit-content;">
|
<div class="flex items-center bg-black bg-opacity-25 rounded-md" style="width: max-content;">
|
||||||
<button class="hover:text-primary" on:click={() => changeItemValue(item.id, (saved[item.id] || 0) + 1)}>
|
<button class="hover:text-primary" on:click={() => changeItemValue(item.id, (saved[item.id] || 0) + 1)}>
|
||||||
<Icon path={mdiPlus} />
|
<Icon path={mdiPlus} />
|
||||||
</button>
|
</button>
|
||||||
|
|
Loading…
Reference in a new issue