Skip to content

Commit 7813fa8

Browse files
committed
fix(style): sets max-width 100% for images in content
An overly wide hero image will run out of the container and make the otherwise normally sized page on mobile horizontally scroll-able. refs: edm00se/awesome-board-games#5 fixes #381
1 parent 48a0d89 commit 7813fa8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/default-theme/Home.vue

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,9 @@ export default {
9797
color lighten($textColor, 10%)
9898
p
9999
color lighten($textColor, 25%)
100+
.content
101+
img
102+
max-width 100%
100103
.footer
101104
padding 2.5rem
102105
border-top 1px solid $borderColor

0 commit comments

Comments
 (0)