From 32a7a4b3c286ebf11c5d15372c52c1b6489c3ec1 Mon Sep 17 00:00:00 2001 From: Florian Dieminger Date: Mon, 25 Mar 2024 18:07:45 +0100 Subject: [PATCH] fix(curriculum): remove forbidden hr from ol (#10786) --- client/src/curriculum/modules-list.scss | 3 ++- client/src/curriculum/modules-list.tsx | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/curriculum/modules-list.scss b/client/src/curriculum/modules-list.scss index 6083d6dc895e..48f38ec614f6 100644 --- a/client/src/curriculum/modules-list.scss +++ b/client/src/curriculum/modules-list.scss @@ -33,9 +33,10 @@ grid-template-columns: auto auto auto 1fr; } - hr { + &::before { border: none; border-top: 1px solid var(--text-inactive); + content: ""; grid-area: hr; margin: 0 0 1.5rem; width: 100%; diff --git a/client/src/curriculum/modules-list.tsx b/client/src/curriculum/modules-list.tsx index 43b52610e321..85f8ebb20a3b 100644 --- a/client/src/curriculum/modules-list.tsx +++ b/client/src/curriculum/modules-list.tsx @@ -14,7 +14,6 @@ export function ModulesListList({ const [tab, setTab] = useState(1); return (
    -
    {modules.map((modulesList, i) => { return (