From d2338dee6a3da1f6897f873bb005b6e4e8d82720 Mon Sep 17 00:00:00 2001 From: vincent Date: Thu, 13 Oct 2022 18:50:53 +0200 Subject: [PATCH] (ui) Fix nav-tabs --- app/frontend/src/stylesheets/app.nav.scss | 13 +++++++++++++ app/frontend/templates/admin/trainings/index.html | 4 ++-- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/app/frontend/src/stylesheets/app.nav.scss b/app/frontend/src/stylesheets/app.nav.scss index 1ddef5cfd..519645f96 100644 --- a/app/frontend/src/stylesheets/app.nav.scss +++ b/app/frontend/src/stylesheets/app.nav.scss @@ -527,6 +527,19 @@ } } +.nav { + &.nav-tabs { + display: flex; + & > li { + flex: 1; + width: auto; + display: block; + float: none; + a { height: 100%; } + } + } +} + // overrides bootstrap .nav-justified > li, .nav-tabs.nav-justified > li { cursor: pointer; diff --git a/app/frontend/templates/admin/trainings/index.html b/app/frontend/templates/admin/trainings/index.html index 48cae7e1e..a809c83eb 100644 --- a/app/frontend/templates/admin/trainings/index.html +++ b/app/frontend/templates/admin/trainings/index.html @@ -5,13 +5,13 @@ -
+

{{ 'app.admin.trainings.trainings_monitoring' }}

-