Skip to content

Commit 1880464

Browse files
committed
画像サイズ対策
1 parent a4b9f02 commit 1880464

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

sass/tate/_contents.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ div.image {
1818
display: block;
1919
width: 100%;
2020
box-sizing: border-box;
21+
max-width: $content-width;
22+
max-height: $content-height;
2123
}
2224

2325
& > p.caption {

sass/yoko/_contents.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ div.image {
1616
display: block;
1717
width: 100%;
1818
box-sizing: border-box;
19+
max-width: $content-width;
20+
max-height: $content-height;
1921
}
2022

2123
& > p.caption {

0 commit comments

Comments
 (0)