From 21196585608bc200083bafaf59a327a6e5367122 Mon Sep 17 00:00:00 2001 From: Adam <24621027+adoyle0@users.noreply.github.com> Date: Fri, 19 Jan 2024 22:32:59 -0500 Subject: [PATCH] make code block behave on mobile --- doordesk/style/tailwind.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doordesk/style/tailwind.css b/doordesk/style/tailwind.css index efeb7b2..8fea53f 100644 --- a/doordesk/style/tailwind.css +++ b/doordesk/style/tailwind.css @@ -76,9 +76,9 @@ article ol { } .code-block { - @apply bg-black bg-opacity-40 p-3 rounded-lg shadow-lg shadow-black; + @apply bg-black bg-opacity-50 p-3 rounded-lg shadow-lg shadow-black max-w-fit m-auto; } .code-block-inner { - @apply p-2; + @apply p-2 mt-2 text-sm border-t-gray-500 overflow-x-scroll border-t-2; }