Skip to content

Commit bfbf537

Browse files
committed
improve mobile display
1 parent ed18313 commit bfbf537

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

_sass/custom/custom.scss

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,19 @@ p.note::before {
3939
font-weight: bold;
4040
}
4141

42+
// for narrow screens (12%), make date column more readable
43+
@media (max-width: 600px) {
44+
.syllabus-container table.spanned-table tbody tr td:nth-child(1) {
45+
width: 25% !important;
46+
}
47+
.syllabus-container table.spanned-table tbody tr td:nth-child(2) {
48+
width: 50% !important;
49+
}
50+
.syllabus-container table.spanned-table tbody tr td:nth-child(3) {
51+
width: 25% !important;
52+
}
53+
}
54+
4255
.label {
4356
border-radius: $border-radius;
4457
margin-left: 0;
@@ -147,3 +160,5 @@ p.note::before {
147160

148161
// Place all of your course-specific CSS here.
149162
@import './course_overrides';
163+
164+

0 commit comments

Comments
 (0)