mirror of
https://github.com/pterodactyl/documentation.git
synced 2025-12-10 21:05:59 -06:00
Fix line height issues in code block highlighting
This commit is contained in:
parent
8a03492b97
commit
54c40ab3f0
@ -8,7 +8,7 @@
|
||||
@apply .leading-normal .overflow-auto .my-4 .mx-0;
|
||||
|
||||
code {
|
||||
@apply .text-white .p-0 .bg-transparent .border-0;
|
||||
@apply .text-white .p-0 .bg-transparent .border-0 .inline-block;
|
||||
}
|
||||
|
||||
&::-webkit-scrollbar {
|
||||
@ -28,8 +28,8 @@ div[class*="language-"] {
|
||||
@apply .relative .bg-grey-darkest .rounded .border .border-black .text-sm .my-4;
|
||||
|
||||
.highlight-lines {
|
||||
@apply .absolute .pin-t .pin-l .w-full .leading-normal .select-none;
|
||||
margin-top: .9rem;
|
||||
@apply .absolute .pin-l .w-full .leading-normal .select-none;
|
||||
top: .9rem;
|
||||
|
||||
.highlighted {
|
||||
background: rgba(0, 0, 0, 0.3);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user