From e1ed7c06b8b11d6d33c13e3db85286bd3db01d4d Mon Sep 17 00:00:00 2001 From: virginieVachet Date: Mon, 29 Jul 2024 14:45:16 +0200 Subject: [PATCH] fix style on buttons --- packages/synapse-bridge/src/patterns/LangBtn/LangBtn.vue | 5 +++++ .../LangBtn/tests/__snapshots__/LangBtn.spec.ts.snap | 4 ++-- .../src/patterns/SelectBtnField/SelectBtnField.vue | 5 ++++- packages/synapse-bridge/src/styles/settings.scss | 7 +++++++ 4 files changed, 18 insertions(+), 3 deletions(-) diff --git a/packages/synapse-bridge/src/patterns/LangBtn/LangBtn.vue b/packages/synapse-bridge/src/patterns/LangBtn/LangBtn.vue index 365b576220..ec0d4a91c9 100644 --- a/packages/synapse-bridge/src/patterns/LangBtn/LangBtn.vue +++ b/packages/synapse-bridge/src/patterns/LangBtn/LangBtn.vue @@ -117,6 +117,7 @@ export default defineComponent({ ...props, ...options.btn, }" + :class="options.btn.variant === 'outlined' ? 'outlined-style' : ''" id="lang-menu-btn" > @@ -158,4 +159,8 @@ export default defineComponent({ height: 100%; } } + +.outlined-style { + border: 1px solid currentColor; +} diff --git a/packages/synapse-bridge/src/patterns/LangBtn/tests/__snapshots__/LangBtn.spec.ts.snap b/packages/synapse-bridge/src/patterns/LangBtn/tests/__snapshots__/LangBtn.spec.ts.snap index d67b312e26..c92bbdc049 100644 --- a/packages/synapse-bridge/src/patterns/LangBtn/tests/__snapshots__/LangBtn.spec.ts.snap +++ b/packages/synapse-bridge/src/patterns/LangBtn/tests/__snapshots__/LangBtn.spec.ts.snap @@ -1,7 +1,7 @@ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html exports[`LangBtn > open the menu when clicked 1`] = ` -