Skip to content

Commit cb6aa1d

Browse files
committed
Wrap latest Discourse post links teacher homepage for small screens. #2839
1 parent 763ece0 commit cb6aa1d

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

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

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,17 @@ li {
1313

1414
a {
1515
max-width: 660px;
16-
overflow: hidden;
17-
white-space: nowrap;
18-
text-overflow: ellipsis;
1916
display: inline-block;
2017
vertical-align: middle;
2118

2219
@media (min-width: breakpoint('md.min')) {
20+
max-width: 300px;
21+
overflow: hidden;
22+
white-space: nowrap;
23+
text-overflow: ellipsis;
24+
}
25+
26+
@media (min-width: breakpoint('lg.min')) {
2327
max-width: 360px;
2428
}
2529
}

0 commit comments

Comments
 (0)