Skip to content

Commit 929df64

Browse files
committed
fix center of divs on events and home -> upcoming events
1 parent b1945eb commit 929df64

File tree

4 files changed

+14
-3
lines changed

4 files changed

+14
-3
lines changed

assets/scss/templates/_main.scss

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,17 @@ input[type="checkbox"] {
108108
}
109109
}
110110

111+
.img-center {
112+
width: auto;
113+
height: auto;
114+
position: absolute;
115+
top: 0;
116+
bottom: 0;
117+
left: 0;
118+
right: 0;
119+
margin: auto;
120+
}
121+
111122
.img-event{
112123
max-height: 140px;
113124
@media (max-width: 992px) {

layouts/events/overview.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
<div class="ac-trigger">
5151
<div class="row justify-content-between m-0" >
5252
<div class="col-12 col-lg-2 p-0 mt-0 text-center">
53-
<img class="img-fluid img-event p-4" src="{{$event.image}}" />
53+
<img class="img-fluid img-center img-event p-4" src="{{$event.image}}" />
5454
</div>
5555
<div class="col pt-3 pb-5" style="background-color: #ffffff;">
5656
<div class="row align-items-center">

layouts/partials/landingpage/activityfeed.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ <h3 style="color: #005aa7;">{{ .items_title }}</h3>
8989
<div class="row justify-content-between my-4 m-0">
9090
<!-- image -->
9191
<div class="col-12 col-lg-2 p-0 mt-0 text-center bg-white">
92-
<img class="img-fluid img-event p-2" src="{{.image}}" />
92+
<img class="img-fluid img-event img-center p-2" src="{{.image}}" />
9393
</div>
9494
<!-- /image -->
9595

tina/tina-lock.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)