Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Commit 6c2ec82

Browse files
authored
Fixed footer logo overflowing
Footer logo was overflowing at ~960px wide viewport. Added `background-size: contain` (shorthand), and `max-width: 100%` to contain wrapper, and background image within grid.
1 parent 23ff8aa commit 6c2ec82

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

public/resources/css/module/_footer.scss

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,10 @@
2727
}
2828

2929
.logo-inverse-large {
30-
background: url('/resources/images/logos/inverse/shield/shield-large.png') 0px 0px no-repeat;
30+
background: url('/resources/images/logos/inverse/shield/shield-large.png') 0px 0px / contain no-repeat;
3131
height: 200px;
3232
width: 200px;
33+
max-width: 100%;
3334

3435
@media handheld and (max-width: $phone-breakpoint),
3536
screen and (max-device-width: $phone-breakpoint),
@@ -101,4 +102,4 @@
101102
opacity: .24;
102103
}
103104
}
104-
}
105+
}

0 commit comments

Comments
 (0)