From 261ca2566190d32f2c5b6d1ac8078c7ddfcd104c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Behmo?= Date: Mon, 11 Aug 2025 16:58:15 +0200 Subject: [PATCH] fix: missing *-logo DOM element This error was caused by a previous change in which we removed extra ID elements. This is now made simpler thanks to SCSS. --- tutordeck/server/static/scss/deck.scss | 8 ++++---- tutordeck/server/templates/index.html | 3 +-- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/tutordeck/server/static/scss/deck.scss b/tutordeck/server/static/scss/deck.scss index 93990fc..5688138 100644 --- a/tutordeck/server/static/scss/deck.scss +++ b/tutordeck/server/static/scss/deck.scss @@ -202,10 +202,6 @@ main { img { width: 1.25em; } - .sidebar-tab-logo-selected { - filter: invert(39%) sepia(98%) saturate(3884%) - hue-rotate(205deg) brightness(95%) contrast(96%); - } h4 { margin-left: 1em; // font-size: 1.15em; @@ -217,6 +213,10 @@ main { } .sidebar-tab-selected { color: $blue; + img { + filter: invert(39%) sepia(98%) saturate(3884%) + hue-rotate(205deg) brightness(95%) contrast(96%); + } } &:last-child { margin-block-start: 0; diff --git a/tutordeck/server/templates/index.html b/tutordeck/server/templates/index.html index 5e4dccd..e1b6859 100644 --- a/tutordeck/server/templates/index.html +++ b/tutordeck/server/templates/index.html @@ -107,12 +107,11 @@ - + {% if sidebar_active_tab %} {% endif %}