2
0
mirror of https://github.com/frappe/books.git synced 2024-09-20 11:29:00 +00:00

fix: Adjust card sized for smaller window

This commit is contained in:
Faris Ansari 2020-05-06 23:39:11 +05:30
parent 2695c194a3
commit bad02d74e1

View File

@ -13,7 +13,7 @@
<h2 class="font-medium">{{ section.label }}</h2>
<div class="flex mt-4 -mx-2">
<div
class="w-1/3 px-2"
class="flex-shrink-0 w-full px-2 md:w-1/3 sm:w-1/2"
v-for="item in section.items"
:key="item.label"
>
@ -40,7 +40,7 @@
</p>
</div>
<div
class="flex mt-2"
class="flex mt-2 overflow-hidden"
v-show="activeCard === item.key && !isCompleted(item)"
>
<Button