Skip to content

Commit 7da2795

Browse files
fix: increase timeslot widths in editor so swap buttons fit (ietf-tools#4119)
1 parent c09fd9d commit 7da2795

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ietf/meeting/views.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -515,8 +515,8 @@ def timedelta_to_css_ems(timedelta):
515515
capped_max_d = min(max_duration, datetime.timedelta(hours=4))
516516
capped_timedelta = min(max(capped_min_d, timedelta), capped_max_d)
517517

518-
min_d_css_rems = 4
519-
max_d_css_rems = 6
518+
min_d_css_rems = 5
519+
max_d_css_rems = 7
520520
# interpolate
521521
scale = (capped_timedelta - capped_min_d) / (capped_max_d - capped_min_d) if capped_min_d != capped_max_d else 1
522522
return min_d_css_rems + (max_d_css_rems - min_d_css_rems) * scale

0 commit comments

Comments
 (0)