UX: Better related messages condensed layout

This commit is contained in:
Kris 2018-11-15 20:21:22 -05:00
parent f2afb69f72
commit 9157fdd69c

View File

@ -167,40 +167,24 @@ a.badge-category {
max-width: 757px;
}
@include breakpoint(medium, min-width) {
.suggested-topics-wrapper.related-messages-wrapper {
display: flex;
width: 100%;
.suggested-topics,
.related-messages {
thead {
display: none;
.topic-list th,
.topic-list td {
padding: 5px;
}
.posts,
.age {
width: 45px;
.topic-list .main-link {
font-size: 1em;
.topic-list-item .discourse-tags {
font-size: $font-down-1;
}
.views {
display: none;
}
.posters {
width: 60px;
a {
display: none;
&:first-of-type,
&:last-of-type {
display: inline;
}
}
}
}
#suggested-topics {
order: 2;
margin-left: 1em;
}
#related-messages {
order: 1;
margin-right: 1em;
padding-bottom: 0;
}
#suggested-topics {
padding-top: 0.5em;
thead {
display: none;
}
}
}