Skip to content
This repository has been archived by the owner on Nov 17, 2021. It is now read-only.

Commit

Permalink
fix(Stencila): Reduce max-width of CodeChunk components
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-ketch committed Oct 8, 2019
1 parent 236f1e7 commit 5ee20b0
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions src/themes/stencila/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -206,18 +206,14 @@ main > pre,
article > figure,
:--CodeChunk {
background-color: #fff;
width: auto;
max-width: var(--max-width);
margin: 1.25rem auto;
box-shadow: 0 0 8px rgba(0, 0, 0, 0.16);
border: 1px solid #dbdbdb;
border-radius: 4px;
overflow-y: hidden;
overflow-x: auto;
}

:--CodeChunk {
border: 1px solid #dbdbdb;
box-shadow: 0 0 8px rgba(0, 0, 0, 0.16);
margin: 1.25rem auto;
max-width: var(--max-width-media);
overflow-x: auto;
overflow-y: hidden;
width: auto;

pre,
code,
Expand Down

0 comments on commit 5ee20b0

Please sign in to comment.