1
Fork 0
mirror of https://github.com/RGBCube/Site synced 2025-07-30 20:47:46 +00:00

default.css: fix codeblock scroll on chromium

This commit is contained in:
RGBCube 2025-06-02 14:53:38 +03:00
parent d12bd07f49
commit 1726983aba
Signed by: RGBCube
SSH key fingerprint: SHA256:CzqbPcfwt+GxFYNnFVCqoN5Itn4YFrshg1TrnACpA5M
2 changed files with 5 additions and 1 deletions

View file

@ -194,6 +194,10 @@
@apply border-black dark:border-white;
}
pre code {
@apply whitespace-pre;
}
div:has(> pre code) {
@apply outline-1 outline-dotted outline-offset-1 outline-[#444] border-1
border-black p-2 bg-[#eee] dark:outline-[#bbb] dark:border-white

View file

@ -10,7 +10,7 @@ Blog Articles
<span class="whitespace-nowrap overflow-hidden text-sm font-[ecrou]">
<a href="/blog.rss">rss</a>
<a class="-ml-2" href="/blog.json">json</a>
<a href="/blog.json">json</a>
</span>
</h1>