Skip to content

Commit

Permalink
♿ [#2377] Fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jiromaykin committed Apr 23, 2024
1 parent c6077f4 commit c58db10
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
12 changes: 10 additions & 2 deletions src/open_inwoner/scss/components/Profile/_personal-overview.scss
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,16 @@
}
}

.profile-cards .card {
min-height: 190px;
.profile-cards {
@media (min-width: 500px) and (max-width: 767px) {
&.card-container {
grid-template-columns: repeat(2, 1fr) !important;
}
}

.card {
min-height: 190px;
}
}

.form {
Expand Down
10 changes: 3 additions & 7 deletions src/open_inwoner/templates/pages/profile/me.html
Original file line number Diff line number Diff line change
Expand Up @@ -236,9 +236,7 @@ <h4 class="card__heading-4"><span class="link link__text">{% trans "Mijn contact
<div class="ellipsis--none">
<h4 class="card__heading-4"><span class="link link__text">{% trans "Acties" %}</span></h4>
{% render_list %}
<span class="profile-list">
{% list_item text=action_text compact=True strong=False %}
</span>
{% list_item text=action_text compact=True strong=False %}
{% endrender_list %}
<span class="link link--icon link--secondary" aria-label="{% trans "Beheer acties" %}" title="{% trans "Beheer acties" %}">
<span class="link__text">{% trans "Beheer acties" %}</span>
Expand All @@ -256,10 +254,8 @@ <h4 class="card__heading-4"><span class="link link__text">{% trans "Acties" %}</
<div class="ellipsis--none">
<h4 class="card__heading-4"><span class="link link__text">{% trans "Mijn uitkeringen" %}</span></h4>
{% render_list %}
<span class="profile-list">
{% list_item text="Jaaropgaven" compact=True strong=False active=False %}
{% list_item text="Maandspecificaties" compact=True strong=False %}
</span>
{% list_item text="Jaaropgaven" compact=True strong=False active=False %}
{% list_item text="Maandspecificaties" compact=True strong=False %}
{% endrender_list %}
<span class="link link--icon link--secondary"
aria-label="{% trans "Bekijk uitkeringen" %}"
Expand Down

0 comments on commit c58db10

Please sign in to comment.