Skip to content

Commit

Permalink
UX: improve mobile list mode layout (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
awesomerobot committed Jun 14, 2023
1 parent bd495f7 commit b0a42da
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions mobile/mobile.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,26 @@
.topic-thumbnails-list {
.topic-list-body .topic-list-item {
.right {
grid-template-columns: 15% 65% 20%;
grid-template-rows: 15% 40% 45%;
display: grid;
grid-template-columns: 15% auto 15%;
grid-template-areas: "thumbnail title replies" "thumbnail data data";
gap: 0 0.5em;
.num {
text-align: right;
}
.topic-list-thumbnail {
grid-area: thumbnail;
}
.main-link {
grid-area: title;
width: unset;
}
.topic-item-stats {
grid-area: data;
}
.pull-right {
grid-area: replies;
}
}
}
}
Expand Down

0 comments on commit b0a42da

Please sign in to comment.