Skip to content

Commit

Permalink
feat: Allow to expand section templates drawer - MEED-8076 - Meeds-io…
Browse files Browse the repository at this point in the history
…/MIPs#172 (#279)

Prior to this change, the section templates drawer wasn't allowing to be
expanded. This change allows to expand the section templates cards to be
displayed in a row when the drawer gets expanded.
  • Loading branch information
boubaker committed Jan 11, 2025
1 parent 9700cec commit f12055c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
id="addSectionDrawer"
v-model="drawer"
:loading="loading"
allow-expand
right
disable-pull-to-refresh>
<template #title>
Expand All @@ -45,7 +46,7 @@
:key="t.id"
:section-template="t"
:selected="t.id === selectedSectionTemplate?.id"
class="col-6 ps-0 pe-4"
class="col-auto ps-0 pe-4"
@select="selectedSectionTemplate = t" />
</div>
</template>
Expand All @@ -59,7 +60,7 @@
:key="t.id"
:section-template="t"
:selected="t.id === selectedSectionTemplate?.id"
class="col-6 ps-0 pe-4"
class="col-auto ps-0 pe-4"
@select="selectedSectionTemplate = t" />
</div>
</template>
Expand All @@ -73,7 +74,7 @@
:key="t.id"
:section-template="t"
:selected="t.id === selectedSectionTemplate?.id"
class="col-6 ps-0 pe-4"
class="col-auto ps-0 pe-4"
@select="selectedSectionTemplate = t" />
</div>
</template>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@
'border-color': !selected,
}"
class="d-flex flex-column pa-2 hover-elevation overflow-hidden position-relative"
min-width="170"
max-width="170"
min-height="150"
max-height="150"
flat
Expand Down

0 comments on commit f12055c

Please sign in to comment.