diff --git a/docs/front-end/grid.md b/docs/front-end/grid.md index df3480c97..e537c5c4a 100644 --- a/docs/front-end/grid.md +++ b/docs/front-end/grid.md @@ -36,7 +36,7 @@ Any alignment or spacing rules for a component should be added using BEM syntax grid-column: 2 / span 4; @include media-query(large) { - grid-column: 4 / span 9; + grid-column: 2 / span 9; } } } diff --git a/tbx/core/models.py b/tbx/core/models.py index 36b68f999..b857d2c9c 100644 --- a/tbx/core/models.py +++ b/tbx/core/models.py @@ -179,7 +179,7 @@ def partner_logos(self): " sentence or one paragraph, depending on the presence of punctuation." ), ), - InlinePanel("logos", heading="Partner logos", label="logo", max_num=7), + InlinePanel("logos", heading="Partner logos", label="logo", max_num=12), FieldPanel("body"), ] diff --git a/tbx/project_styleguide/templates/patterns/_pattern_library_only/streamfield/home_story_container.html b/tbx/project_styleguide/templates/patterns/_pattern_library_only/streamfield/home_story_container.html index 93e506b9f..7dd6a7320 100644 --- a/tbx/project_styleguide/templates/patterns/_pattern_library_only/streamfield/home_story_container.html +++ b/tbx/project_styleguide/templates/patterns/_pattern_library_only/streamfield/home_story_container.html @@ -1,4 +1,5 @@ +{% include "patterns/molecules/streamfield/blocks/division_signpost_block.html" %} {% include "patterns/molecules/streamfield/blocks/promo_block.html" %} {% include "patterns/molecules/streamfield/blocks/event_block.html" %} {% include "patterns/molecules/streamfield/blocks/featured_case_study.html" %} diff --git a/tbx/project_styleguide/templates/patterns/_pattern_library_only/streamfield/home_story_container.yaml b/tbx/project_styleguide/templates/patterns/_pattern_library_only/streamfield/home_story_container.yaml index b8883d734..4a4347fc5 100644 --- a/tbx/project_styleguide/templates/patterns/_pattern_library_only/streamfield/home_story_container.yaml +++ b/tbx/project_styleguide/templates/patterns/_pattern_library_only/streamfield/home_story_container.yaml @@ -1,5 +1,10 @@ tags: srcset_image: + # Division signpost + 'card.image format-webp fill-{540x280,490x280} sizes="(max-width: 598px) 540px, (min-width: 599px) 490px" alt=""': + raw: | + + # Featured case study 'value.featured_case_study_image format-webp fill-{400x225,800x450,1600x900,1280x720} sizes="(max-width: 1022px) 90vw, (max-width: 1789px) 50vw, (min-width: 1800px) 1120px" class="featured-case-study__image"': raw: 'Jeth-JulyImage_from_iOS' diff --git a/tbx/project_styleguide/templates/patterns/atoms/icons/background-swirls.html b/tbx/project_styleguide/templates/patterns/atoms/icons/background-swirls.html new file mode 100644 index 000000000..5c0b10bc1 --- /dev/null +++ b/tbx/project_styleguide/templates/patterns/atoms/icons/background-swirls.html @@ -0,0 +1,20 @@ + +{% comment %} +This SVG doesn't work well when added to sprites.html, +so we've separated it into its own HTML file. +{% endcomment %} + diff --git a/tbx/project_styleguide/templates/patterns/atoms/sprites/sprites.html b/tbx/project_styleguide/templates/patterns/atoms/sprites/sprites.html index a7aa5f8f5..bd0f0620a 100644 --- a/tbx/project_styleguide/templates/patterns/atoms/sprites/sprites.html +++ b/tbx/project_styleguide/templates/patterns/atoms/sprites/sprites.html @@ -43,8 +43,8 @@ -