make code block behave on mobile
This commit is contained in:
parent
986bb9ffee
commit
2119658560
1 changed files with 2 additions and 2 deletions
|
@ -76,9 +76,9 @@ article ol {
|
||||||
}
|
}
|
||||||
|
|
||||||
.code-block {
|
.code-block {
|
||||||
@apply bg-black bg-opacity-40 p-3 rounded-lg shadow-lg shadow-black;
|
@apply bg-black bg-opacity-50 p-3 rounded-lg shadow-lg shadow-black max-w-fit m-auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.code-block-inner {
|
.code-block-inner {
|
||||||
@apply p-2;
|
@apply p-2 mt-2 text-sm border-t-gray-500 overflow-x-scroll border-t-2;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue