Skip to content

Commit 41507b3

Browse files
committed
show sat and sun without scroll in schedule
1 parent faf84d3 commit 41507b3

4 files changed

Lines changed: 18 additions & 11 deletions

File tree

Gemfile.lock

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,15 @@ GEM
1111
http_parser.rb (~> 0)
1212
eventmachine (1.2.7)
1313
ffi (1.17.0-arm64-darwin)
14+
ffi (1.17.0-x86_64-darwin)
1415
ffi (1.17.0-x86_64-linux-gnu)
1516
forwardable-extended (2.6.0)
1617
google-protobuf (4.27.3-arm64-darwin)
1718
bigdecimal
1819
rake (>= 13)
20+
google-protobuf (4.27.3-x86_64-darwin)
21+
bigdecimal
22+
rake (>= 13)
1923
google-protobuf (4.27.3-x86_64-linux)
2024
bigdecimal
2125
rake (>= 13)
@@ -91,6 +95,7 @@ PLATFORMS
9195
arm64-darwin-22
9296
arm64-darwin-23
9397
arm64-darwin-24
98+
x86_64-darwin-24
9499
x86_64-linux
95100

96101
DEPENDENCIES

_layouts/schedule.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
{% assign start_time = page.timeline | first %}
22
{% capture offset %}{% include minutes.liquid time=start_time %}{% endcapture %}
33
<div class="schedule">
4-
<ul class="schedule-timeline" style="min-width: {{ page.schedule | size | times: 120 }}px">
4+
<ul class="schedule-timeline">
55
{% for time in page.timeline %}
66
<li class="schedule-time">{{ time }} </li>
77
{% endfor %}
88
</ul>
99
<ul class="schedule-group">
10+
<li class="schedule-timeline-spacer"></li>
1011
{% for day in page.schedule %}
1112
<li class="schedule-day">
1213
<h2 class="schedule-header">{{ day.name }}</h2>

_sass/custom/schedule.scss

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,16 @@
4949
border-left: $border $border-color;
5050
flex: 1 0 0;
5151
margin: 0;
52-
min-width: 120px;
5352

5453
&:first-of-type {
5554
border-left: 0;
5655
}
5756
}
5857

58+
.schedule-timeline-spacer {
59+
width: 64px;
60+
}
61+
5962
h2.schedule-header {
6063
align-items: center;
6164
display: flex;

_schedules/weekly.md

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,13 @@ timeline:
2929
- '9:30 PM'
3030

3131
schedule:
32-
- name: ""
33-
34-
- name: Monday
32+
- name: Mon
3533
events:
3634
- name: Instructors OHs
3735
start: 7:00 PM
3836
end: 9:00 PM
3937
location: Virtual
40-
- name: Tuesday
38+
- name: Tue
4139
events:
4240
- name: Lecture
4341
start: 2:30 PM
@@ -51,9 +49,9 @@ schedule:
5149
start: 7:00 PM
5250
end: 9:00 PM
5351
location: Virtual
54-
- name: Wednesday
52+
- name: Wed
5553
events:
56-
- name: Thursday
54+
- name: Thu
5755
events:
5856
- name: Lecture
5957
start: 2:30 PM
@@ -63,7 +61,7 @@ schedule:
6361
start: 5:30 PM
6462
end: 7:30 PM
6563
location: Virtual
66-
- name: Friday
64+
- name: Fri
6765
events:
6866
- name: Instructors OHs
6967
start: 10:00 AM
@@ -73,9 +71,9 @@ schedule:
7371
start: 1:00 PM
7472
end: 3:00 PM
7573
location: 24-321
76-
- name: Saturday
74+
- name: Sat
7775
events:
78-
- name: Sunday
76+
- name: Sun
7977
events:
8078
- name: Instructors OHs
8179
start: 3:00 PM

0 commit comments

Comments
 (0)