diff --git a/main/styleguide/source/_patterns/organisms/box-links-section.mustache b/main/styleguide/source/_patterns/organisms/box-links-section.mustache index 73216944f7cc2364386d106d0323de5ff95e880f..7e40cb3b801e7b697b3b6d76102087907a560776 100644 --- a/main/styleguide/source/_patterns/organisms/box-links-section.mustache +++ b/main/styleguide/source/_patterns/organisms/box-links-section.mustache @@ -1,4 +1,4 @@ -<div class="bg-cover bg-no-repeat section-clip py-16 xl:h-screen lg:py-36" +<div class="bg-cover bg-no-repeat section-clip py-16 xl:min-h-screen lg:py-36" style="background-image: url('../../images/background-images/bg-join-us.jpg')"> <div class="container--wide mx-auto z-10"> <h2 class="head-7xl xl:text-center mb-6 xl:mb-28"> diff --git a/main/styleguide/source/_patterns/organisms/newsletter-section.mustache b/main/styleguide/source/_patterns/organisms/newsletter-section.mustache index 9ce82e9d28a4b7f6c636a5a52fc284484fbf05ed..afad100b8dcb9b53f1b57f88147a3e32a49e9695 100644 --- a/main/styleguide/source/_patterns/organisms/newsletter-section.mustache +++ b/main/styleguide/source/_patterns/organisms/newsletter-section.mustache @@ -1,4 +1,4 @@ -<div class="section-clip bg-cover bg-no-repeat flex pb-32 xl:pb-0 xl:h-screen relative z-10"> +<div class="section-clip bg-cover bg-no-repeat flex pb-32 xl:pb-0 xl:min-h-screen relative z-10"> <img src="../../images/background-images/bg-bartos-newsletter.jpg" alt="" class="absolute h-full w-full object-cover"> <div class="grid-container mt-20 xl:mt-0 xl:items-center z-10"> <div class="grid-full newsletter-grid"> diff --git a/main/styleguide/source/_patterns/organisms/representatives-section.mustache b/main/styleguide/source/_patterns/organisms/representatives-section.mustache index 3589a2ea65859342628610d97757b7dbbb02f02d..a3ce163b98c9e745266e87b6595808a3dc4c100c 100644 --- a/main/styleguide/source/_patterns/organisms/representatives-section.mustache +++ b/main/styleguide/source/_patterns/organisms/representatives-section.mustache @@ -1,11 +1,13 @@ -<div class="container--medium mb-8 xl:h-screen flex flex-col justify-center lg:mb-16"> - <h2 class="head-7xl xl:text-center mb-6 xl:mb-28"> - Piráti zastupují občany - </h2> - <div class="flex flex-wrap space-x-1 justify-center gap-2 md:gap-1 items-center"> - {{> molecules-representative-box }} - {{> molecules-representative-box }} - {{> molecules-representative-box }} - {{> molecules-representative-box }} +<div class="bg-cover bg-no-repeat section-clip py-16 xl:min-h-screen lg:py-36"> + <div class="container--wide mx-auto z-10"> + <h2 class="head-7xl xl:text-center mb-6 xl:mb-28"> + Piráti zastupují občany + </h2> + <div class="flex flex-wrap gap-2 md:gap-1 justify-center items-center md:flex-row"> + {{> molecules-representative-box }} + {{> molecules-representative-box }} + {{> molecules-representative-box }} + {{> molecules-representative-box }} + </div> </div> </div> diff --git a/main/templates/main/blocks/boxes_block.html b/main/templates/main/blocks/boxes_block.html index 638b941a816fb420220e08569ad486a59862e2e5..2facaba344ca0de84179472c559340f78a920784 100644 --- a/main/templates/main/blocks/boxes_block.html +++ b/main/templates/main/blocks/boxes_block.html @@ -1,6 +1,6 @@ {% load static wagtailimages_tags %} -<div class="bg-cover bg-no-repeat section-clip py-16 xl:h-screen lg:py-36" +<div class="bg-cover bg-no-repeat section-clip py-16 xl:min-h-screen lg:py-36" style="background-image: {% if self.image %} {% image self.image original as original_image %} diff --git a/main/templates/main/blocks/people_overview_block.html b/main/templates/main/blocks/people_overview_block.html index 322d84c820d3386caa3688d22bccf5caf3264c6b..f6305d7b4ff1d3fd94207e03efc168f2f72965b0 100644 --- a/main/templates/main/blocks/people_overview_block.html +++ b/main/templates/main/blocks/people_overview_block.html @@ -1,6 +1,6 @@ {% load wagtailimages_tags %} -<div class="container--medium mb-8 xl:h-screen flex flex-col justify-center lg:mb-16"> +<div class="container--medium mb-8 xl:min-h-screen flex flex-col justify-center lg:mb-16"> <h2 class="head-7xl xl:text-center mb-6 xl:mb-28"> {{ self.title }} </h2> diff --git a/main/templates/main/includes/newsletter_section.html b/main/templates/main/includes/newsletter_section.html index 82dddf3626d4145a1ee92ececbb77430fcd88e6f..ffca9ac218769ee54bd290c66f2bb6258a0904e8 100644 --- a/main/templates/main/includes/newsletter_section.html +++ b/main/templates/main/includes/newsletter_section.html @@ -1,6 +1,6 @@ {% load static %} -<div class="section-clip bg-cover bg-no-repeat flex pb-32 xl:pb-0 xl:h-screen relative z-10"> +<div class="section-clip bg-cover bg-no-repeat flex pb-32 xl:pb-0 xl:min-h-screen relative z-10"> <img src="{% static 'main/images/background-images/bg-bartos-newsletter.jpg' %}" alt="" class="absolute h-full w-full object-cover"> <div class="grid-container mt-20 xl:mt-0 xl:items-center z-10"> <div class="grid-full newsletter-grid">