Skip to content

Commit 15f3a47

Browse files
author
Scott Straughan
committed
Added some code/pre styling.
1 parent 85de16d commit 15f3a47

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

static/css/styled.scss

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -811,6 +811,17 @@ body {
811811
width: 100%;
812812
height: auto;
813813
}
814+
815+
pre code {
816+
display: block;
817+
max-width: 100%;
818+
word-break: break-word;
819+
white-space: break-spaces;
820+
background-color: var(--hint-color);
821+
color: white;
822+
padding: 1rem;
823+
border-radius: 12px;
824+
}
814825
}
815826
}
816827

0 commit comments

Comments
 (0)