Skip to content

Commit 2cf7cad

Browse files
committed
fix padding of inline code and x-overflow scrolling behaviour of codeblock
1 parent 7a7452e commit 2cf7cad

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/assets/css/style.css

+3-1
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ body {
143143
code.highlighter-rouge{
144144
background: white;
145145
border: 1px solid #ccc;
146+
padding: 2.5px;
146147

147148
}
148149

@@ -151,7 +152,8 @@ div.highlighter-rouge {
151152
background-color: white;
152153
width: 60%;
153154
border: 1px solid #ccc;
154-
padding: 2.5px;
155+
padding: 2.5px;
156+
overflow-x: auto;
155157

156158
}
157159

0 commit comments

Comments
 (0)