From 97f00d7e6dbca6df74a8f4b43b287ee2918952a2 Mon Sep 17 00:00:00 2001 From: Mahdi Date: Sun, 8 Nov 2026 11:49:47 +0330 Subject: [PATCH] fix(products): open one row menu so edit and other actions run Desktop and mobile dropdowns shared an id, so both opened and the extra menu closed the click before the action. Co-authored-by: Cursor --- apps/web/src/views/ProductsSettingsView.vue | 42 ++++++++++++++------- 1 file changed, 29 insertions(+), 13 deletions(-) diff --git a/apps/web/src/views/ProductsSettingsView.vue b/apps/web/src/views/ProductsSettingsView.vue index 3b8e819..5fcef1b 100644 --- a/apps/web/src/views/ProductsSettingsView.vue +++ b/apps/web/src/views/ProductsSettingsView.vue @@ -411,25 +411,25 @@ onMounted(load); - - + - + @@ -460,25 +460,25 @@ onMounted(load);
- - + - + {{ p.isActive ? 'فعال' : 'غیرفعال' }} @@ -680,6 +680,22 @@ tr:last-child td { .ops { width: 64px; } +.more { + width: 32px; + height: 32px; + border: 0; + background: none; + color: #94a3b8; + border-radius: var(--radius); + display: grid; + place-items: center; + cursor: pointer; + padding: 0; +} +.more:hover { + background: var(--accent-soft); + color: var(--accent); +} .mob-list { display: none; gap: 0.65rem;