From 7cc692f7ddc40024437ba7da41a445b2c49e7796 Mon Sep 17 00:00:00 2001 From: jorg-vr Date: Thu, 11 Apr 2024 13:54:01 +0200 Subject: [PATCH 1/2] Only show scroll bar when needed --- app/assets/stylesheets/components/card.css.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/stylesheets/components/card.css.scss b/app/assets/stylesheets/components/card.css.scss index 119cbc0662..e49ceeefe2 100644 --- a/app/assets/stylesheets/components/card.css.scss +++ b/app/assets/stylesheets/components/card.css.scss @@ -306,7 +306,7 @@ a.card-title-link:hover { top: var(--d-navbar-height); z-index: 4; background-color: var(--d-surface); - overflow-x: scroll; + overflow-x: auto; flex-wrap: nowrap; li { From 452db1c5ca72cacbce8ed71e41a911a084d62366 Mon Sep 17 00:00:00 2001 From: jorg-vr Date: Thu, 11 Apr 2024 14:06:37 +0200 Subject: [PATCH 2/2] Show scrollbar when scrolled down --- app/assets/stylesheets/components/card.css.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/stylesheets/components/card.css.scss b/app/assets/stylesheets/components/card.css.scss index e49ceeefe2..d0f65f27a0 100644 --- a/app/assets/stylesheets/components/card.css.scss +++ b/app/assets/stylesheets/components/card.css.scss @@ -304,7 +304,7 @@ a.card-title-link:hover { .nav-tabs.sticky { position: sticky; top: var(--d-navbar-height); - z-index: 4; + z-index: 5; background-color: var(--d-surface); overflow-x: auto; flex-wrap: nowrap;