Skip to content

Commit dcf45f5

Browse files
committed
Fix "Mobile tag alignment events", Events overview and register for events page. In the mobile view tags overlapped with the title.
1 parent f640b19 commit dcf45f5

3 files changed

Lines changed: 35 additions & 54 deletions

File tree

layouts/events/overview.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,22 +62,22 @@
6262
<div class="col-12 col-lg-2 p-0 mt-0 text-center">
6363
<img class="img-fluid img-event p-4" src="{{$event.image}}" />
6464
</div>
65-
<div class="col pt-3 pb-5" style="background-color: #ffffff;">
65+
<div class="col py-3" style="background-color: #ffffff;">
6666
<div class="row align-items-center">
6767
<h4 class="mb-4 mx-3" style="color: #005aa7;">
6868
{{$event.title}}
6969
</h4>
7070
</div>
71-
<div class="row pl-3" style="position: absolute; bottom: 0; font-weight: 300; font-size: 15px;">
71+
<div class="row pl-3" style="font-weight: 300; font-size: 15px;">
7272
{{ if $event.date }}
73-
<span class="highlight-red-sm mr-2">
73+
<span class="highlight-red-sm m-1">
7474
{{ $event.date }}
7575
</span>
7676
{{ end }}
7777
{{ range $facet := $event.facets }}
7878
{{ if $facet.hide }}
7979
{{ else }}
80-
<span class="highlight-red-sm">{{$facet.label}}</span>
80+
<span class="highlight-red-sm m-1">{{$facet.label}}</span>
8181
{{ end }}
8282
{{end}}
8383
</div>

layouts/shortcodes/accordion_item_open.html

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,16 @@
55
<div class="col-12 col-lg-2 text-center">
66
<img class="img-fluid img-action" src={{.Get "image"}} />
77
</div>
8-
<div class="col pt-3 pb-5 px-5">
8+
<div class="col px-5 py-3">
99
<div class="row align-items-center">
1010
<h4 class="mb-4 mx-1" style="color: #005aa7;">
1111
{{.Get "title"}}
1212
</h4>
1313
</div>
14-
<div class="row"
15-
style="position: absolute; bottom: 0; font-weight: 300; font-size: 15px;">
14+
<div class="row" style="font-weight: 300; font-size: 15px;">
1615
{{ $date := .Get "date" }}
1716
{{ if $date }}
18-
<span style="color:#005aa7;" class="mr-1 mb-2 px-2 py-1 mx-1">
17+
<span class="highlight-red-sm m-1">
1918
{{ $date }}
2019
</span>
2120
{{ end }}

0 commit comments

Comments
 (0)