From 0b14f2dbbc53b121392b819fe521b8479db4d6ef Mon Sep 17 00:00:00 2001 From: anshg1214 Date: Sat, 10 Aug 2024 14:17:16 +0000 Subject: [PATCH 1/5] fix: YIM Graph Overflow Issue --- frontend/css/year-in-music.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/css/year-in-music.less b/frontend/css/year-in-music.less index 41648671c5..68eb6e30a4 100644 --- a/frontend/css/year-in-music.less +++ b/frontend/css/year-in-music.less @@ -568,7 +568,7 @@ overflow: hidden; .graph { color: var(--selectedColor); - overflow: auto; + overflow: scroll; > * { min-width: 550px; } From 10918acd3e09056df457f4c9717a8b75eda59e17 Mon Sep 17 00:00:00 2001 From: Ansh Goyal Date: Mon, 12 Aug 2024 17:48:25 +0530 Subject: [PATCH 2/5] Update frontend/css/year-in-music.less Co-authored-by: Monkey Do --- frontend/css/year-in-music.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/css/year-in-music.less b/frontend/css/year-in-music.less index 68eb6e30a4..c0961fe28c 100644 --- a/frontend/css/year-in-music.less +++ b/frontend/css/year-in-music.less @@ -568,7 +568,7 @@ overflow: hidden; .graph { color: var(--selectedColor); - overflow: scroll; + overflow: visible; > * { min-width: 550px; } From b7013361382d3662c84a38f7a7ebd5f0b92e4c3e Mon Sep 17 00:00:00 2001 From: anshg1214 Date: Mon, 12 Aug 2024 12:19:31 +0000 Subject: [PATCH 3/5] Revert "Update frontend/css/year-in-music.less" This reverts commit 10918acd3e09056df457f4c9717a8b75eda59e17. --- frontend/css/year-in-music.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/css/year-in-music.less b/frontend/css/year-in-music.less index c0961fe28c..68eb6e30a4 100644 --- a/frontend/css/year-in-music.less +++ b/frontend/css/year-in-music.less @@ -568,7 +568,7 @@ overflow: hidden; .graph { color: var(--selectedColor); - overflow: visible; + overflow: scroll; > * { min-width: 550px; } From 8542902bba0b24d9078a78f6409b5980b550a7d3 Mon Sep 17 00:00:00 2001 From: anshg1214 Date: Mon, 12 Aug 2024 12:48:04 +0000 Subject: [PATCH 4/5] fix: graph overflow issue --- frontend/css/year-in-music.less | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/css/year-in-music.less b/frontend/css/year-in-music.less index 68eb6e30a4..64652ee2c1 100644 --- a/frontend/css/year-in-music.less +++ b/frontend/css/year-in-music.less @@ -569,6 +569,7 @@ .graph { color: var(--selectedColor); overflow: scroll; + overflow-y: hidden; > * { min-width: 550px; } From 99c9849362c3e1e35e13eae4af96772157c1f1bf Mon Sep 17 00:00:00 2001 From: anshg1214 Date: Tue, 13 Aug 2024 10:57:45 +0000 Subject: [PATCH 5/5] feat: set offset-x to show scroll bar only when required --- frontend/css/year-in-music.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/css/year-in-music.less b/frontend/css/year-in-music.less index 64652ee2c1..80dd6e19c0 100644 --- a/frontend/css/year-in-music.less +++ b/frontend/css/year-in-music.less @@ -568,7 +568,7 @@ overflow: hidden; .graph { color: var(--selectedColor); - overflow: scroll; + overflow-x: auto; overflow-y: hidden; > * { min-width: 550px;