Skip to content

Commit

Permalink
Components: Edit-menu: Fix mini-widget card width
Browse files Browse the repository at this point in the history
Signed-off-by: Arturo Manzoli <arturomanzoli@gmail.com>
  • Loading branch information
ArturoManzoli authored and rafaellehmkuhl committed Oct 2, 2024
1 parent a1c308e commit 6ceade7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/components/EditMenu.vue
Original file line number Diff line number Diff line change
@@ -520,13 +520,14 @@
<div
v-for="miniWidget in availableMiniWidgetTypes"
id="mini-widget-card"
:ref="(el) => (miniWidgetContainers[miniWidget.component] = el as HTMLElement)"
:key="miniWidget.hash"
class="flex flex-col items-center justify-between rounded-md bg-[#273842] hover:brightness-125 h-[90%] aspect-square cursor-pointer elevation-4 overflow-clip pointer-events-none"
class="flex flex-col items-center justify-between w-full rounded-md bg-[#273842] hover:brightness-125 h-[90%] aspect-square cursor-pointer elevation-4 overflow-clip pointer-events-none"
:draggable="false"
>
<div />
<div id="draggable-mini-widget" class="m-2 pointer-events-auto select-auto cursor-grab" :draggable="true">
<div class="pointer-events-none">
<div class="flex justify-center pointer-events-none min-w-[160px]">
<MiniWidgetInstantiator :mini-widget="miniWidget" />
</div>
</div>

0 comments on commit 6ceade7

Please sign in to comment.