mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-10-09 21:16:26 +08:00
fix markdown codeblocks overflowing container (#333)
This commit is contained in:
parent
0209ed5a26
commit
e16992dbc1
1 changed files with 5 additions and 1 deletions
|
@ -109,8 +109,12 @@
|
||||||
@apply py-[0.1rem] px-2 rounded-lg text-sm align-middle font-mono bg-gray-200;
|
@apply py-[0.1rem] px-2 rounded-lg text-sm align-middle font-mono bg-gray-200;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.markdown pre {
|
||||||
|
@apply flex overflow-hidden;
|
||||||
|
}
|
||||||
|
|
||||||
.markdown pre > code {
|
.markdown pre > code {
|
||||||
@apply block p-4 rounded-lg text-sm align-middle font-mono;
|
@apply p-4 rounded-lg text-sm align-middle font-mono flex-1 overflow-auto;
|
||||||
/* Match the editor colors */
|
/* Match the editor colors */
|
||||||
background-color: #282c34;
|
background-color: #282c34;
|
||||||
color: #abb2bf;
|
color: #abb2bf;
|
||||||
|
|
Loading…
Add table
Reference in a new issue