From 513762614f83fb7b93fe90bab5712b65d5867192 Mon Sep 17 00:00:00 2001 From: SonTT19 Date: Mon, 5 Aug 2024 11:01:22 +0700 Subject: [PATCH 1/2] fix(VBtnToggle): fix display selected button with plain variant --- packages/vuetify/src/components/VBtnToggle/VBtnToggle.sass | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/vuetify/src/components/VBtnToggle/VBtnToggle.sass b/packages/vuetify/src/components/VBtnToggle/VBtnToggle.sass index 953e86af93b..54cad3ceaca 100644 --- a/packages/vuetify/src/components/VBtnToggle/VBtnToggle.sass +++ b/packages/vuetify/src/components/VBtnToggle/VBtnToggle.sass @@ -5,3 +5,7 @@ .v-btn-toggle > .v-btn.v-btn--active:not(.v-btn--disabled) @include tools.active-states('> .v-btn__overlay', $btn-toggle-selected-opacity) + + &.v-btn--variant-plain + > .v-btn__overlay + display: block From d192909bd59f3dac5986b224eaea67715ddf3a94 Mon Sep 17 00:00:00 2001 From: SonTT19 Date: Fri, 9 Aug 2024 16:30:42 +0700 Subject: [PATCH 2/2] fix(VBtnToggle): remove overlay & increase opacity --- packages/vuetify/src/components/VBtnToggle/VBtnToggle.sass | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/vuetify/src/components/VBtnToggle/VBtnToggle.sass b/packages/vuetify/src/components/VBtnToggle/VBtnToggle.sass index 54cad3ceaca..85f9d3cb1a3 100644 --- a/packages/vuetify/src/components/VBtnToggle/VBtnToggle.sass +++ b/packages/vuetify/src/components/VBtnToggle/VBtnToggle.sass @@ -7,5 +7,4 @@ @include tools.active-states('> .v-btn__overlay', $btn-toggle-selected-opacity) &.v-btn--variant-plain - > .v-btn__overlay - display: block + opacity: 1