From 2ed4eeff48152ebce29d8c6860bf997f2a92ab5a Mon Sep 17 00:00:00 2001 From: Bhargav Date: Tue, 6 Jan 2026 15:09:28 +0530 Subject: [PATCH] fix: fixed toggle button issue for small size (#9852) ### **PR Type** Bug fix ___ ### **Description** - Add class to `q-toggle` in AddEnrichmentTable - Adjust padding and font-size on toggles - Add left margin class to Stream toggle - Apply custom sizing to IndexList toggles ___

File Walkthrough

Relevant files
Enhancement
AddEnrichmentTable.vue
Style append toggle in AddEnrichmentTable                               

web/src/components/functions/AddEnrichmentTable.vue
  • Added lookup-table-append-toggle class to q-toggle
  • Defined padding and font-size for .q-toggle__inner
  • Made .q-toggle__thumb:before background transparent
+12/-1   
Stream.vue
Add left margin to Stream toggle                                                 

web/src/components/pipeline/NodeForm/Stream.vue
  • Added q-ml-md class to stream q-toggle
  • Ensured consistent left margin on toggle
+1/-1     
IndexList.vue
Style toggles in IndexList logs                                                   

web/src/plugins/logs/IndexList.vue
  • Added indexlist-stream-toggle class to q-toggle
  • Updated size attribute from "20px" to 20
  • Defined padding, font-size, transparent thumb in CSS
+15/-1   
___ --- .../components/functions/AddEnrichmentTable.vue | 13 ++++++++++++- web/src/components/pipeline/NodeForm/Stream.vue | 2 +- web/src/plugins/logs/IndexList.vue | 16 +++++++++++++++- 3 files changed, 28 insertions(+), 3 deletions(-) diff --git a/web/src/components/functions/AddEnrichmentTable.vue b/web/src/components/functions/AddEnrichmentTable.vue index 1d59e0d976..2f8c95c2eb 100644 --- a/web/src/components/functions/AddEnrichmentTable.vue +++ b/web/src/components/functions/AddEnrichmentTable.vue @@ -126,7 +126,7 @@ along with this program. If not, see .
@@ -373,4 +373,15 @@ export default defineComponent({ left: -30px; } } + +.lookup-table-append-toggle { + .q-toggle__inner { + padding: 0.325em !important; + font-size: 40px !important; + } + + .q-toggle__thumb:before { + background: transparent !important; + } +} diff --git a/web/src/components/pipeline/NodeForm/Stream.vue b/web/src/components/pipeline/NodeForm/Stream.vue index c071fadae9..0336a3a18e 100644 --- a/web/src/components/pipeline/NodeForm/Stream.vue +++ b/web/src/components/pipeline/NodeForm/Stream.vue @@ -37,7 +37,7 @@ along with this program. If not, see . . @@ -1487,3 +1488,16 @@ export default defineComponent({ } } + +