2
0
mirror of https://github.com/frappe/books.git synced 2024-11-10 15:50:56 +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> <h2 class="font-medium">{{ section.label }}</h2>
<div class="flex mt-4 -mx-2"> <div class="flex mt-4 -mx-2">
<div <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" v-for="item in section.items"
:key="item.label" :key="item.label"
> >
@ -40,7 +40,7 @@
</p> </p>
</div> </div>
<div <div
class="flex mt-2" class="flex mt-2 overflow-hidden"
v-show="activeCard === item.key && !isCompleted(item)" v-show="activeCard === item.key && !isCompleted(item)"
> >
<Button <Button