From 15587ae21233921857e9a9463a59e00d7e406f9b Mon Sep 17 00:00:00 2001 From: Amit Mittal Date: Fri, 25 Oct 2024 23:02:48 +0530 Subject: [PATCH 1/2] fix: copy button overlap issue --- frontend/static/styles.css | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frontend/static/styles.css b/frontend/static/styles.css index 32254538..c8cd596b 100644 --- a/frontend/static/styles.css +++ b/frontend/static/styles.css @@ -252,6 +252,9 @@ body .ddoc { .highlight .context_button { @apply border-none hover:bg-jsr-cyan-50; } + .highlight:has(.context_button) { + @apply pr-7; + } .highlight .lineNumbers { @apply border-jsr-gray-100 text-jsr-gray-300 pr-3; From ea615e730de812d0b4bd1c21b7566ef117bab021 Mon Sep 17 00:00:00 2001 From: Amit Mittal Date: Fri, 25 Oct 2024 23:14:49 +0530 Subject: [PATCH 2/2] fix: better formatting --- frontend/static/styles.css | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/static/styles.css b/frontend/static/styles.css index c8cd596b..20048d48 100644 --- a/frontend/static/styles.css +++ b/frontend/static/styles.css @@ -252,6 +252,7 @@ body .ddoc { .highlight .context_button { @apply border-none hover:bg-jsr-cyan-50; } + .highlight:has(.context_button) { @apply pr-7; }