-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1025 from maykinmedia/fix/2111-fix-card-icons-and…
…-headings 💄 [#2111] Fix case-card icons and adjust card headings
- Loading branch information
Showing
11 changed files
with
62 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
src/open_inwoner/components/templates/components/Card/DescriptionCard.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 13 additions & 11 deletions
24
src/open_inwoner/components/templates/components/Card/LocationCard.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,18 @@ | ||
{% load link_tags string_tags %} | ||
<div class="card card__body"> | ||
<div class="card card__location-card"> | ||
<div class="card__body"> | ||
{% if location_name %} | ||
{% link href=location.get_absolute_url primary=True text=location_name extra_classes="h3" %} | ||
<h3 class="card__heading-3">{% link href=location.get_absolute_url primary=True text=location_name %}</h3> | ||
{% endif %} | ||
<div class="card__body--flex p--no-margin"> | ||
<p class="p">{{ address_line_1 }}</p> | ||
<p class="p">{{ address_line_2 }}</p> | ||
{% if phonenumber %} | ||
{% link href='tel:'|addstr:phonenumber secondary=True text=phonenumber %} | ||
{% endif %} | ||
{% if email %} | ||
{% link href='mailto:'|addstr:email secondary=True text=email %} | ||
{% endif %} | ||
<div class="card__body--flex p--no-margin"> | ||
<p class="p">{{ address_line_1 }}</p> | ||
<p class="p">{{ address_line_2 }}</p> | ||
{% if phonenumber %} | ||
{% link href='tel:'|addstr:phonenumber secondary=True text=phonenumber %} | ||
{% endif %} | ||
{% if email %} | ||
{% link href='mailto:'|addstr:email secondary=True text=email %} | ||
{% endif %} | ||
</div> | ||
</div> | ||
</div> |
6 changes: 3 additions & 3 deletions
6
src/open_inwoner/components/templates/components/Card/ProductCard.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,4 +31,8 @@ | |
font-weight: bold; | ||
} | ||
} | ||
|
||
.profile-cards .card { | ||
min-height: 190px; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters