Skip to content

Commit

Permalink
fix: go back to flex-col for itms
Browse files Browse the repository at this point in the history
Signed-off-by: Martichou <[email protected]>
  • Loading branch information
Martichou committed Mar 24, 2024
1 parent 4112d9e commit 3597da8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
4 changes: 0 additions & 4 deletions frontend/src/assets/main.postcss
Original file line number Diff line number Diff line change
Expand Up @@ -155,10 +155,6 @@ body,
}
}

.grid-template-rows-auto {
grid-template-rows: auto auto 1fr 1fr;
}

.btn {
@apply h-12 min-h-12 cursor-pointer rounded-xl font-medium px-4 inline-flex justify-center items-center gap-2 hover:bg-gray-500 hover:bg-opacity-10
}
Expand Down
3 changes: 1 addition & 2 deletions frontend/src/components/HomePage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,7 @@
</p>
</div>
<div
class="flex-1 grid grid-cols-1 bg-white w-full max-w-full min-w-0 min-h-full rounded-tl-[3rem] p-12 h-1 overflow-y-scroll"
:class="{'grid-template-rows-auto': !displayedIsEmpty}">
class="flex-1 flex flex-col bg-white w-full max-w-full min-w-0 min-h-full rounded-tl-[3rem] p-12 h-1 overflow-y-scroll">
<h3 class="mb-4 font-medium text-xl">
<span v-if="displayedIsEmpty">Ready to receive{{ outboundPayload != undefined ? ' / send' : '' }}</span>
<span v-else>Nearby devices</span>
Expand Down

0 comments on commit 3597da8

Please sign in to comment.