From 1c59e3312ea18d7c9c0e6b4a4c534947bd127926 Mon Sep 17 00:00:00 2001
From: Dominik George <dominik.george@teckids.org>
Date: Thu, 18 Jul 2019 00:53:59 +0200
Subject: [PATCH] Use chronos-lesson CSS class.

---
 biscuit/apps/chronos/templates/chronos/tt_lesson.html | 2 +-
 biscuit/apps/chronos/templates/chronos/tt_week.html   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/biscuit/apps/chronos/templates/chronos/tt_lesson.html b/biscuit/apps/chronos/templates/chronos/tt_lesson.html
index 104fa319..bd58b5cb 100644
--- a/biscuit/apps/chronos/templates/chronos/tt_lesson.html
+++ b/biscuit/apps/chronos/templates/chronos/tt_lesson.html
@@ -1,4 +1,4 @@
-<div class="card"
+<div class="card chronos-lesson"
  style="
   {% if lesson_period.lesson.subject.colour_fg %}
    color: {{ lesson_period.lesson.subject.colour_fg }};
diff --git a/biscuit/apps/chronos/templates/chronos/tt_week.html b/biscuit/apps/chronos/templates/chronos/tt_week.html
index b2bed204..dc9052ad 100644
--- a/biscuit/apps/chronos/templates/chronos/tt_week.html
+++ b/biscuit/apps/chronos/templates/chronos/tt_week.html
@@ -20,7 +20,7 @@
     {% for num, times in periods.items %}
      <div class="row">
       <div class="col-sm">
-       <div class="card" style="width: 18rem; {% if lesson.colour_fg %} color: {{ lesson.colour_fg }}; {% endif %} {% if lesson.colour_bg %} background-color: {{ lesson.colour_bg }}; {% endif %}">
+       <div class="card chronos-lesson">
         <div class="card-body">
          <div class="row">
           <div class="col-sm">
-- 
GitLab