Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust uneven block spacing for mozfest #12373

Merged
merged 5 commits into from
Jun 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% load wagtailcore_tags wagtailimages_tags %}

{% block block_content %}
<div class="tw-bg-black tw-dark tw-pb-16 tw-pt-20 large:tw-pt-40">
<div class="tw-bg-black tw-dark tw-pb-16 tw-pt-16 large:tw-pt-18">
<div class="tw-container">
<div class="tw-row tw-body">
<div class="tw-px-16 tw-w-full xlarge:tw-w-6/12">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@
{% include "partials/primary_hero.html" with page=page %}
{% endblock %}

{% block streamfield %}
{% include "partials/streamfield_spacer.html" %}
{% endblock streamfield %}

{% block bootstrap_width %}col-lg-12{% endblock bootstrap_width %}

{% block footer_block %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@
{% include "partials/primary_hero.html" with page=page %}
{% endblock hero_guts %}

{% block streamfield %}
{% include "partials/streamfield_spacer.html" %}
{% endblock streamfield %}

{% block bootstrap_width %}col-lg-12{% endblock bootstrap_width %}

{% block footer_block %}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
{% load wagtailcore_tags %}

{% for block in page.body %}
{# optionally render a pre and post paragraph spacer for landing_page / homepage page types with dark sections #}
{% if block.block_type == 'paragraph' %}
{% block pre_paragraph_spacer %}{% endblock pre_paragraph_spacer %}
{% endif %}
{% include_block block with parent_page=page %}
{% if block.block_type == 'paragraph' %}
{% block post_paragraph_spacer %}{% endblock post_paragraph_spacer %}
{% endif %}
{% endfor %}

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{% load wagtailcore_tags wagtailimages_tags %}

{% block block_content %}
<section class="tw-bg-white tw-mb-24">
<section class="tw-bg-white">
<div class="tw-container">
<div class="tw-row">
<div class="xlarge:tw-min-h-[400px] medium:tw-mb-24 tw-w-full">
Expand Down
Loading