ux: update code block styling (#22761)

![export](https://github.com/user-attachments/assets/9a9df60b-22db-42b9-9b5d-3d2c7812bb0e)
This commit is contained in:
Arthur
2025-06-04 15:38:11 +02:00
committed by GitHub
parent 28e68f6af7
commit 6a940f3b2a
4 changed files with 77 additions and 54 deletions

View File

@@ -144,12 +144,8 @@
font-size: 0.875em;
border: 1px solid;
border-radius: 0.25rem; /* theme("spacing.1") fallback */
background: var(--color-white-main);
border-color: var(--color-gray-300);
.dark & {
background: var(--color-gray-200);
border-color: var(--color-gray-400);
}
border: none;
background: transparent;
&::before,
&::after {
content: none !important;
@@ -185,7 +181,7 @@
}
.highlight {
@apply my-4 overflow-x-auto p-3;
@apply my-0 overflow-x-auto p-2;
/* LineTableTD */
.lntd {