Skip to content

Commit fa05fd6

Browse files
committed
Fixed images in footer + typo in main css
1 parent 1f40b67 commit fa05fd6

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

frontend/_includes/footer.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<footer class="footer">
2-
<div class="content has-text-centered">
2+
<div class="has-text-centered">
33
<h2 class="small-heading">Partners and Funders</h2>
44
<div class="gallery-by-4 logos">
55
<a href="//www.ed.ac.uk/">

frontend/assets/css/main.scss

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ footer,
231231

232232
&.media-left,
233233
&.media-right,
234-
&.media-center, {
234+
&.media-center {
235235
float: unset;
236236
max-width: 30vw;
237237
}
@@ -341,13 +341,18 @@ figcaption {
341341
}
342342

343343
.logos,
344-
.content .logos,
344+
.logos,
345345
[class^="gallery-"] .logos {
346346
padding: 50px;
347347

348348
img {
349349
background: transparent;
350350
max-width: 90%;
351+
352+
@include mobile {
353+
margin: 1em auto;
354+
max-width: 300px;
355+
}
351356
}
352357

353358
@include mobile {

0 commit comments

Comments
 (0)