Skip to content

Commit 29728f9

Browse files
authored
style: 💄 fix image height on mobile for blog/portfolio (#115)
1 parent 036e7b9 commit 29728f9

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

‎src/css/_blog.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ section#blog {
110110
& > img {
111111
max-width: 100%;
112112
width: 100%;
113+
height: auto;
113114
}
114115
& > .wrapper-content {
115116
margin-left: 1rem;

‎src/css/_portfolio.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ section#work{
8383
article{
8484
& > img{
8585
width:100%;
86+
height: auto;
8687
}
8788
}
8889
article .wrapper-content{

0 commit comments

Comments
 (0)