File tree Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change
1
+ // Make the main content area wider
2
+ .main-content {
3
+ max-width : 1200px !important ; // Increase from default ~800px
4
+ margin : 0 auto ;
5
+ }
6
+
7
+ // Make tables more responsive and wider
8
+ table {
9
+ width : 100% ;
10
+ max-width : 100% ;
11
+ overflow-x : auto ;
12
+ display : block ;
13
+
14
+ @media (min-width : 768px ) {
15
+ display : table ;
16
+ }
17
+ }
18
+
19
+ // Ensure table cells don't wrap unnecessarily
20
+ td , th {
21
+ white-space : nowrap ;
22
+ padding : 8px 12px ;
23
+
24
+ // Allow wrapping for longer content in specific columns
25
+ & :nth-child (3 ) { // Lecture column
26
+ white-space : normal ;
27
+ min-width : 200px ;
28
+ }
29
+
30
+ & :nth-child (4 ) { // Assignments column
31
+ white-space : normal ;
32
+ min-width : 150px ;
33
+ }
34
+ }
35
+
36
+ // Add horizontal scroll for very small screens
37
+ @media (max-width : 767px ) {
38
+ .main-content {
39
+ overflow-x : auto ;
40
+ }
41
+ }
42
+
1
43
@media (max-width : $content-width ) {
2
44
.content-nav {
3
45
display : none ;
You can’t perform that action at this time.
0 commit comments