Skip to content

Commit

Permalink
fix: update layout to have category selector updated on map size
Browse files Browse the repository at this point in the history
  • Loading branch information
joselegitan authored and frodrigo committed Oct 5, 2023
1 parent c7465cd commit 0cad6fc
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions components/Home/Embedded.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@
/>
</div>
<div class="tw-grow">
<div v-if="initialBbox" class="tw-flex tw-flex-col tw-h-screen">
<div
v-if="initialBbox"
class="tw-flex tw-flex-col tw-h-screen tw-relative"
>
<MapFeatures
ref="mapFeatures"
:default-bounds="initialBbox"
Expand All @@ -47,7 +50,7 @@
<CategorySelector
:menu-items="Object.values(apiMenuCategory || {})"
label="categorySelector.placeholderAdd"
class="tw-p-4 tw-fixed tw-z-1 tw-w-full"
class="tw-p-4 tw-absolute tw-z-1 tw-w-full"
@category-change="onMenuChange"
/>
<div class="tw-p-4 tw-pt-24 tw-absolute">
Expand Down

0 comments on commit 0cad6fc

Please sign in to comment.