mirror of
https://github.com/sissbruecker/linkding.git
synced 2025-08-08 03:08:29 +02:00
Make code blocks in notes scrollable (#530)
This commit is contained in:
@@ -210,7 +210,7 @@ ul.bookmark-list {
|
|||||||
display: none;
|
display: none;
|
||||||
max-height: 300px;
|
max-height: 300px;
|
||||||
margin: $unit-1 0;
|
margin: $unit-1 0;
|
||||||
overflow: auto;
|
overflow-y: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.show-notes .notes,
|
&.show-notes .notes,
|
||||||
@@ -249,6 +249,7 @@ ul.bookmark-list .notes-content {
|
|||||||
padding: $unit-1 $unit-2;
|
padding: $unit-1 $unit-2;
|
||||||
background-color: $code-bg-color;
|
background-color: $code-bg-color;
|
||||||
border-radius: $unit-1;
|
border-radius: $unit-1;
|
||||||
|
overflow-x: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
pre code {
|
pre code {
|
||||||
|
Reference in New Issue
Block a user