mirror of
https://github.com/imfing/hextra.git
synced 2025-06-19 23:41:18 -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:
@ -12,6 +12,11 @@
|
||||
.filename {
|
||||
@apply absolute top-0 z-[1] w-full truncate rounded-t-xl bg-primary-700/5 py-2 px-4 text-xs text-gray-700 dark:bg-primary-300/10 dark:text-gray-200;
|
||||
}
|
||||
|
||||
.filename + pre:not(.lntable pre) {
|
||||
/* Override padding for code blocks with filename but no highlight */
|
||||
@apply pt-12;
|
||||
}
|
||||
}
|
||||
|
||||
.code-block pre:not(.lntable pre) {
|
||||
|
Reference in New Issue
Block a user