Skip to content

Commit

Permalink
💄 [#1169] Added style classes for grids on pages, improved padding
Browse files Browse the repository at this point in the history
  • Loading branch information
jiromaykin committed Mar 23, 2023
1 parent f2d012b commit eb4f9ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 2 additions & 3 deletions src/open_inwoner/scss/views/Home.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/// Cards on Home Page and Theme page should break naturally
/// Cards on Home Page and Theme page

.home,
.home-user {
.home {
.card-container {
grid-template-columns: repeat(auto-fit, 228px);

Expand Down
2 changes: 0 additions & 2 deletions src/open_inwoner/templates/pages/user-home.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
{% block header_image %}{% endblock header_image %}

{% block user_content %}
<div class="home-user">
<h1 class="h1">{{ configurable_text.home_page.home_welcome_title }} {{ request.user.get_full_name }}</h1>
<p class="p">{{ configurable_text.home_page.home_welcome_intro|linebreaksbr }}</p>

Expand Down Expand Up @@ -36,5 +35,4 @@ <h3 class="h3">{{ plan.title }}</h3>
<p class="p">{{configurable_text.plans_page.plans_no_plans_message}}</p>
{% endif %}
{% endif %}
</div>
{% endblock user_content %}

0 comments on commit eb4f9ee

Please sign in to comment.