Skip to content
This repository has been archived by the owner on Dec 2, 2024. It is now read-only.

feat: allow widget selection when not in edit mode #497

Merged
merged 1 commit into from
Oct 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions domains/grid/components/GridWidget.vue
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,11 @@ onMounted(() => {

<template>
<div
class="group relative flex h-full select-none flex-col rounded-12 border border-neutral-90 bg-neutral-100"
:class="{ 'shadow-neutral-drop-shadow-1xl': !isAddContentWidget }"
class="group relative flex h-full flex-col rounded-12 border border-neutral-90 bg-neutral-100"
:class="{
'shadow-neutral-drop-shadow-1xl': !isAddContentWidget,
'select-none': isAllowToEdit,
}"
>
<!-- Move handle -->
<div
Expand Down
Loading