Skip to content

Commit 844bbdf

Browse files
committed
fix #124 スマホレスポンシブ
1 parent 0c27835 commit 844bbdf

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

source/src/components/parts/top/TopForum.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const TopForum = () => {
2222
]
2323
return (
2424
<div className={style.TopForum}>
25-
<img src={CalendarImg} alt={'今月のイベントカレンダー'} height={800} className={style.topEventCalendar}/>
25+
<img src={CalendarImg} alt={'今月のイベントカレンダー'} className={style.topEventCalendar}/>
2626

2727
<div className={style.ForumInfo}>
2828

source/src/css/toppage.module.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,8 @@
9595
.topEventCalendar{
9696
display: block;
9797
margin: auto;
98+
max-width: 70%;
99+
max-height: 100%;
98100
}
99101

100102
.TopForumField{

0 commit comments

Comments
 (0)