Skip to content

Commit

Permalink
Fixed the code nowrap in the code block #24
Browse files Browse the repository at this point in the history
  • Loading branch information
qrac committed Nov 28, 2020
1 parent eb2213a commit cbf9258
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions assets/css/front.css
Original file line number Diff line number Diff line change
Expand Up @@ -454,6 +454,20 @@ hr {
opacity: 0.65;
}

/*----------------------------------------------------
// Blocks: Core Table
----------------------------------------------------*/

.wp-block-code {
background-color: var(--theme-bg-2);
border: 1px solid var(--theme-bg-3);
font-family: var(--theme-font-mono);
white-space: pre;
overflow: hidden;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
}

/*----------------------------------------------------
// Blocks: Snow Monkey Blocks
----------------------------------------------------*/
Expand Down

0 comments on commit cbf9258

Please sign in to comment.