Skip to content

Commit 6558fb7

Browse files
authored
Merge pull request #167 from zephiransas/fix-mobile-layout
モバイル端末の場合は、Dojo一覧を2カラムで表示する
2 parents 9be7833 + 46fecbb commit 6558fb7

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

app/assets/stylesheets/custom.scss

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -409,8 +409,9 @@ a {
409409

410410
.dojo {
411411
display: inline-block;
412-
width: 85%;
413-
margin: 10px;
412+
height: 300px;
413+
width: 45%;
414+
margin: 5px;
414415
padding: 15px 0;
415416
background: #fff;
416417
position: relative;
@@ -442,7 +443,8 @@ a {
442443
@media only screen and (min-width:560px) {
443444
.dojo {
444445
width: 220px;
445-
height: 275px
446+
height: 275px;
447+
margin: 10px;
446448
}
447449
}
448450

0 commit comments

Comments
 (0)