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

💄 [#1385] Fix heading size for plans on homepage #607

Merged
merged 2 commits into from
May 10, 2023
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
4 changes: 0 additions & 4 deletions src/open_inwoner/scss/_cms_dev.scss

This file was deleted.

1 change: 0 additions & 1 deletion src/open_inwoner/scss/screen.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,3 @@
@import 'views';
@import 'overwrites';
@import './_fixes';
@import './_cms_dev';
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ <h2 class="h2">
<div class="plans-cards card-container card-container--columns-4">
{% for plan in plans %}
{% render_card image_object_fit="cover" %}
<a href="{{ plan.get_absolute_url }}" class="plan-list"><h3 class="h3">{{ plan.title }}</h3>
<a href="{{ plan.get_absolute_url }}" class="plan-list"><p class="h4">{{ plan.title }}</p>
<p class="p">{{ plan.goal|truncatewords:20 }}</p>
<p class="p">{{ plan.description|truncatewords:20 }}</p></a>
<a
Expand Down
2 changes: 0 additions & 2 deletions src/open_inwoner/templates/cms/fullwidth.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,5 @@
{% endblock header_image %}

{% block content %}
<div class="debug-cms-block">
{% placeholder 'content' or %}{% trans "There is no content." %}{% endplaceholder %}
</div>
{% endblock content %}
2 changes: 1 addition & 1 deletion src/open_inwoner/templates/pages/user-home.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ <h2 class="h2">
<div class="plans-cards card-container card-container--columns-4">
{% for plan in plans %}
{% render_card image_object_fit="cover" %}
<a href="{{ plan.get_absolute_url }}" class="plan-list"><h3 class="h3">{{ plan.title }}</h3>
<a href="{{ plan.get_absolute_url }}" class="plan-list"><p class="h4">{{ plan.title }}</p>
<p class="p">{{ plan.goal|truncatewords:20 }}</p>
<p class="p">{{ plan.description|truncatewords:20 }}</p></a>
<a
Expand Down