Skip to content

Commit

Permalink
[Cleanup] Remove unnecessary pointer-event-auto (#2523)
Browse files Browse the repository at this point in the history
  • Loading branch information
huchenlei authored Feb 12, 2025
1 parent 9017513 commit ca2aee2
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/components/MenuHamburger.vue
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,6 @@ const positionCSS = computed<CSSProperties>(() =>

<style scoped>
.comfy-menu-hamburger {
@apply pointer-events-auto fixed z-[9999] flex flex-row;
@apply fixed z-[9999] flex flex-row;
}
</style>
2 changes: 1 addition & 1 deletion src/components/graph/GraphCanvasMenu.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<ButtonGroup
class="p-buttongroup-vertical absolute bottom-[10px] right-[10px] z-[1000] pointer-events-auto"
class="p-buttongroup-vertical absolute bottom-[10px] right-[10px] z-[1000]"
>
<Button
severity="secondary"
Expand Down
2 changes: 1 addition & 1 deletion src/components/load3d/Load3DAnimationControls.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

<div
v-if="animations && animations.length > 0"
class="absolute top-0 left-0 w-full flex justify-center pt-2 gap-2 items-center pointer-events-auto z-10"
class="absolute top-0 left-0 w-full flex justify-center pt-2 gap-2 items-center z-10"
>
<Button class="p-button-rounded p-button-text" @click="togglePlay">
<i
Expand Down
4 changes: 1 addition & 3 deletions src/components/load3d/Load3DControls.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<template>
<div
class="absolute top-2 left-2 flex flex-col gap-2 pointer-events-auto z-20"
>
<div class="absolute top-2 left-2 flex flex-col gap-2 z-20">
<Button class="p-button-rounded p-button-text" @click="toggleCamera">
<i class="pi pi-camera text-white text-lg"></i>
</Button>
Expand Down
2 changes: 1 addition & 1 deletion src/components/searchbox/NodeSearchBox.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div
class="comfy-vue-node-search-container flex justify-center items-center w-full min-w-96 pointer-events-auto"
class="comfy-vue-node-search-container flex justify-center items-center w-full min-w-96"
>
<div
class="comfy-vue-node-preview-container absolute left-[-350px] top-[50px]"
Expand Down
2 changes: 1 addition & 1 deletion src/components/topbar/SecondRowWorkflowTabs.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div class="absolute top-0 left-0 w-auto max-w-full pointer-events-auto">
<div class="absolute top-0 left-0 w-auto max-w-full">
<WorkflowTabs />
</div>
</template>
Expand Down
2 changes: 1 addition & 1 deletion src/views/MaintenanceView.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<BaseViewTemplate dark>
<div
class="min-w-full min-h-full font-sans w-screen h-screen grid justify-around text-neutral-300 bg-neutral-900 dark-theme pointer-events-auto overflow-y-auto"
class="min-w-full min-h-full font-sans w-screen h-screen grid justify-around text-neutral-300 bg-neutral-900 dark-theme overflow-y-auto"
>
<div class="max-w-screen-sm w-screen m-8 relative">
<!-- Header -->
Expand Down
2 changes: 1 addition & 1 deletion src/views/templates/BaseViewTemplate.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div
class="font-sans w-screen h-screen flex flex-col pointer-events-auto"
class="font-sans w-screen h-screen flex flex-col"
:class="[
props.dark
? 'text-neutral-300 bg-neutral-900 dark-theme'
Expand Down

0 comments on commit ca2aee2

Please sign in to comment.