Skip to content

Commit f29aa41

Browse files
Merge pull request #2840 from WISE-Community/issue-2839-discourse-topics-do-not-wrap
Wrap latest Discourse post links on teacher homepage
2 parents 8191f98 + b0f3e7e commit f29aa41

1 file changed

Lines changed: 14 additions & 4 deletions

File tree

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

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,26 @@ li {
1313

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

2218
@media (min-width: breakpoint('md.min')) {
19+
max-width: 300px;
20+
display: inline-block;
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
}
30+
31+
span {
32+
@media (max-width: breakpoint('sm.max')) {
33+
display: inline-block;
34+
}
35+
}
2636
}
2737

2838
.content-block {

0 commit comments

Comments
 (0)