From 9c39701a6870a3122a3a9227c246c578be5726ad Mon Sep 17 00:00:00 2001 From: rijkvanzanten Date: Mon, 18 Sep 2023 10:01:34 -0400 Subject: [PATCH 1/4] Fix checkbox styling in form --- components/Base/HsForm.vue | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/components/Base/HsForm.vue b/components/Base/HsForm.vue index 19fcfc03..6fcf9fb5 100644 --- a/components/Base/HsForm.vue +++ b/components/Base/HsForm.vue @@ -155,10 +155,33 @@ watch(formId, renderHsForm); } } + :deep(.hs-field-desc) { + color: var(--gray-400); + padding: 0; + } + :deep(select) { appearance: none; } + :deep(.inputs-list) { + list-style: none; + padding: 0; + margin-block-start: var(--space-6); + } + + :deep(.hs-form-booleancheckbox > label) { + display: flex; + align-items: center; + + input { + height: auto; + width: auto !important; + margin: 0; + margin-right: 0.5rem; + } + } + :deep(.hs-fieldtype-select .input) { position: relative; From 631c972a625e9476b392541e64cab3e96bd48713 Mon Sep 17 00:00:00 2001 From: Bryant Gillespie Date: Mon, 18 Sep 2023 14:56:16 -0400 Subject: [PATCH 2/4] catch internal links and use router (#73) * catch internal links and use router * fix public url type erorr * Rework link logic to directive * Preventdefault at the end In case the navigate fails --------- Co-authored-by: rijkvanzanten --- components/Base/Heading.vue | 2 +- components/Base/Quote.vue | 2 +- components/Base/Text.vue | 1 + components/Block/Code.vue | 1 + components/Nav/Banner.vue | 2 +- components/Nav/Footer.vue | 2 +- nuxt.config.ts | 3 +++ plugins/links.ts | 34 ++++++++++++++++++++++++++++++++++ 8 files changed, 43 insertions(+), 4 deletions(-) create mode 100644 plugins/links.ts diff --git a/components/Base/Heading.vue b/components/Base/Heading.vue index 93f6c145..8e45d7a9 100644 --- a/components/Base/Heading.vue +++ b/components/Base/Heading.vue @@ -40,7 +40,7 @@ const iconSize = computed(() => { - + diff --git a/components/Base/Quote.vue b/components/Base/Quote.vue index 022643cc..1a2ab632 100644 --- a/components/Base/Quote.vue +++ b/components/Base/Quote.vue @@ -12,7 +12,7 @@ defineProps();