mirror of
https://github.com/imfing/hextra.git
synced 2025-06-19 10:34:15 -04:00
fix: resolve padding issue for code blocks with filenames but without lang highlight (#297)
* fix: resolve padding issue for code blocks with filenames but without lang highlighting * chore: run `npm run build:css` * chore: update `node_modules/caniuse-lite`
This commit is contained in:
@ -2186,6 +2186,10 @@ article details > summary::before {
|
||||
--tw-text-opacity: 1;
|
||||
color: rgb(229 231 235 / var(--tw-text-opacity));
|
||||
}
|
||||
.code-block .filename + pre:not(.lntable pre) {
|
||||
/* Override padding for code blocks with filename but no highlight */
|
||||
padding-top: 3rem;
|
||||
}
|
||||
.code-block pre:not(.lntable pre) {
|
||||
margin-bottom: 1rem;
|
||||
border-radius: 0.75rem;
|
||||
|
Reference in New Issue
Block a user