Commit 4cbc74ad0454e30aa70fdf86240cc1fb637cf108

Authored by Miguel Barão
1 parent cd8915da
Exists in master and in 1 other branch dev

fix rendering of course cards on narrow windows.

@@ -52,6 +52,7 @@ sqlite3.ProgrammingError: SQLite objects created in a thread can only be used in @@ -52,6 +52,7 @@ sqlite3.ProgrammingError: SQLite objects created in a thread can only be used in
52 52
53 # FIXED 53 # FIXED
54 54
  55 +- caixas com os cursos não se ajustam bem com ecran estreito.
55 - obter rankings por curso GET course=course_id 56 - obter rankings por curso GET course=course_id
56 - no curso de linear algebra, as perguntas estao shuffled, mas nao deviam estar... nao esta a obedecer a keyword shuffle. 57 - no curso de linear algebra, as perguntas estao shuffled, mas nao deviam estar... nao esta a obedecer a keyword shuffle.
57 - menu nao mostra as opcoes correctamente 58 - menu nao mostra as opcoes correctamente
aprendizations/templates/courses.html
@@ -53,9 +53,9 @@ @@ -53,9 +53,9 @@
53 <!-- ===== page ====================================================== --> 53 <!-- ===== page ====================================================== -->
54 <div class="container"> 54 <div class="container">
55 <div id="notifications"></div> 55 <div id="notifications"></div>
56 - <div class="row"> 56 + <div class="row justify-content-center">
57 {% for k,v in courses.items() %} 57 {% for k,v in courses.items() %}
58 - <div class="card-deck col-3"> 58 + <div class="card-deck col-md-4">
59 <a href="/course/{{k}}" class="card mb-3"> 59 <a href="/course/{{k}}" class="card mb-3">
60 <!-- text-dark mb-3" style="width: 18rem;" --> 60 <!-- text-dark mb-3" style="width: 18rem;" -->
61 <div class="card-body"> 61 <div class="card-body">