diff --git a/com/static/com/css/news-list.scss b/com/static/com/css/news-list.scss index cc423ccc..b53ff784 100644 --- a/com/static/com/css/news-list.scss +++ b/com/static/com/css/news-list.scss @@ -83,7 +83,8 @@ #links_content { overflow: auto; box-shadow: $shadow-color 1px 1px 1px; - height: 20em; + min-height: 20em; + padding-bottom: 1em; h4 { margin-left: 5px; diff --git a/timetable/static/bundled/timetable/generator-index.ts b/timetable/static/bundled/timetable/generator-index.ts index 241b75af..72e3bb4d 100644 --- a/timetable/static/bundled/timetable/generator-index.ts +++ b/timetable/static/bundled/timetable/generator-index.ts @@ -37,7 +37,7 @@ const WEEKDAYS = [ ] as const; const SLOT_HEIGHT = 20 as const; // Each 15min has a height of 20px in the timetable -const SLOT_WIDTH = 400 as const; // Each weekday ha a width of 400px in the timetable +const SLOT_WIDTH = 250 as const; // Each weekday ha a width of 400px in the timetable const MINUTES_PER_SLOT = 15 as const; interface TimetableSlot { diff --git a/timetable/static/timetable/css/generator.scss b/timetable/static/timetable/css/generator.scss index 3197ebeb..6a248532 100644 --- a/timetable/static/timetable/css/generator.scss +++ b/timetable/static/timetable/css/generator.scss @@ -23,6 +23,13 @@ display: flex; flex-direction: column; justify-content: center; + + .course-type { + position: absolute; + top: 0; + right: 0; + padding: 10px; + } } } } diff --git a/timetable/templates/timetable/generator.jinja b/timetable/templates/timetable/generator.jinja index 0a5fe9ce..560caa87 100644 --- a/timetable/templates/timetable/generator.jinja +++ b/timetable/templates/timetable/generator.jinja @@ -9,7 +9,7 @@ {%- endblock -%} {% block title %} - {% trans %}Timeplan generator{% endtrans %} + {% trans %}Timetable generator{% endtrans %} {% endblock %} {% block content %} @@ -17,7 +17,7 @@

Générateur d'emploi du temps

-

+
@@ -38,7 +38,8 @@