Skip to content

Commit

Permalink
spacing fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mmmavis committed May 4, 2024
1 parent ed15286 commit 16cab4f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}
Expand Down
Original file line number Diff line number Diff line change
@@ -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 %}

Expand Down
2 changes: 1 addition & 1 deletion tailwind-plugins/site-nav.js
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down

0 comments on commit 16cab4f

Please sign in to comment.