Skip to content

Commit b0f3e7e

Browse files
committed
Show date on same line as Discourse posts on teacher home for narrow screens. #2839
1 parent cb6aa1d commit b0f3e7e

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

src/main/webapp/site/src/app/teacher/discourse-recent-activity/discourse-recent-activity.component.scss

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ li {
1313

1414
a {
1515
max-width: 660px;
16-
display: inline-block;
1716
vertical-align: middle;
1817

1918
@media (min-width: breakpoint('md.min')) {
2019
max-width: 300px;
20+
display: inline-block;
2121
overflow: hidden;
2222
white-space: nowrap;
2323
text-overflow: ellipsis;
@@ -27,6 +27,12 @@ li {
2727
max-width: 360px;
2828
}
2929
}
30+
31+
span {
32+
@media (max-width: breakpoint('sm.max')) {
33+
display: inline-block;
34+
}
35+
}
3036
}
3137

3238
.content-block {

0 commit comments

Comments
 (0)