From 16cab4f74b372431818eb5f4673fbb1ea98cd3e1 Mon Sep 17 00:00:00 2001 From: Mavis Ou Date: Fri, 3 May 2024 23:00:07 -0700 Subject: [PATCH] spacing fixes --- .../networkapi/templates/fragments/blocks/nav/button.html | 2 +- .../networkapi/templates/fragments/blocks/nav/overview.html | 2 +- tailwind-plugins/site-nav.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/network-api/networkapi/templates/fragments/blocks/nav/button.html b/network-api/networkapi/templates/fragments/blocks/nav/button.html index b9bb06acad5..1ac6a0dd7ca 100644 --- a/network-api/networkapi/templates/fragments/blocks/nav/button.html +++ b/network-api/networkapi/templates/fragments/blocks/nav/button.html @@ -3,7 +3,7 @@ {% if style == "primary" %} {% fragment as nav_button_style %}tw-btn-primary tw-px-8{% endfragment %} {% elif style == "primary-full-width" %} - {% fragment as nav_button_style %}tw-btn-primary tw-min-w-full tw-px-8{% endfragment %} + {% fragment as nav_button_style %}tw-btn-primary tw-min-w-full tw-px-8 tw-mb-12 xlarge:tw-mb-0{% endfragment %} {% elif style == "cta" %} {% fragment as nav_button_style %}tw-leading-[130%] tw-text-blue-80 hover:tw-underline {{ link_hover_padding }}{% endfragment %} {% endif %} diff --git a/network-api/networkapi/templates/fragments/blocks/nav/overview.html b/network-api/networkapi/templates/fragments/blocks/nav/overview.html index 8ac9a993ab7..d906a19a796 100644 --- a/network-api/networkapi/templates/fragments/blocks/nav/overview.html +++ b/network-api/networkapi/templates/fragments/blocks/nav/overview.html @@ -1,6 +1,6 @@ {% load wagtailcore_tags wagtailadmin_tags %} -{% fragment as base_styles %}tw-gap-14 tw-pb-16 xlarge:tw-pr-8{% endfragment %} +{% fragment as base_styles %}tw-gap-14 tw-pb-20 xlarge:tw-pb-16 xlarge:tw-pr-8{% endfragment %} {% fragment as border_styles %}tw-border-b-gray-05 tw-border-b-[1px] xlarge:tw-pb-0 xlarge:tw-border-b-0 xlarge:tw-border-r-gray-05 xlarge:tw-border-r-[1px]{% endfragment %} {% fragment as desktop_layout %}xlarge:tw-border-r{% endfragment %} diff --git a/tailwind-plugins/site-nav.js b/tailwind-plugins/site-nav.js index 1b26e53da03..7f2e6533f23 100644 --- a/tailwind-plugins/site-nav.js +++ b/tailwind-plugins/site-nav.js @@ -8,7 +8,7 @@ function shared(theme) { display: "flex", flexDirection: "column", background: "white", - gap: theme("gap.24"), + gap: `${theme("gap.22")} ${theme("gap.16")}`, marginLeft: `-${theme("margin.8")}`, marginRight: `-${theme("margin.8")}`, paddingTop: theme("padding.12"),