Skip to content

Commit

Permalink
DDBPRO-56
Browse files Browse the repository at this point in the history
  • Loading branch information
mbuechner committed Feb 14, 2024
1 parent e6f9f18 commit e119d07
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion web/themes/custom/ddbp/src/scss/content/_event-teaser.scss
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
width: 100%;
}

h3 {
h2 {
color: $color-grey-dark;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
width: auto;
}

span {
h2 {
color: $color-grey-light;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

<article{{ attributes.addClass(classes).removeAttribute('role') }}>
<a href="{{ url }}">
<h3>{{ label[0]['#context'].value ~ ', ' ~ content.field_location[0]['#context'].value }}</h3>
<h2 class="h3">{{ label[0]['#context'].value ~ ', ' ~ content.field_location[0]['#context'].value }}</h2>
<div class="event-teaser-big__date">
{% if startDateRaw and endDateRaw %}
{% set startDate = startDateRaw|format_date('custom', 'l, d.m.Y — H:i') %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@
<article{{ attributes.addClass(classes) }}>
{% if content %}
<div class="document-teaser-big__content">
<a href="{{ detailUrl }}"
<h2><a href="{{ detailUrl }}"
{% if download %}download{% endif %}
id="{{ id }}"
class="document-teaser__name">
{{ content.name[0]['#context'].value }}
</a>
</a></h2>
{% if content.field_description[0] %}
<p class="document-teaser__description">
{{ content.field_description[0]['#context'].value }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<div class="filters-header">
<div class="filters-header__buttons">
<div>
<span class="h4">{{ 'Filter:' | t }}</span>
<h2 class="h4">{{ 'Filter:' | t }}</h2>
</div>
{% for key, item in form %}
{% if key|first != '#' %}
Expand Down

0 comments on commit e119d07

Please sign in to comment.