Skip to content

Commit

Permalink
Merge pull request #5 from onebytegone/emoji-support-overflow
Browse files Browse the repository at this point in the history
fix: constrain overflowing content for <pre> tags
  • Loading branch information
onebytegone committed Jul 29, 2019
2 parents 65c6066 + 88411ed commit 7254b12
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
8 changes: 5 additions & 3 deletions layouts/_default/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@
<body class="sans-serif flex flex-column items-center">
<a class="skipToContent noPrint" href="#content">{{ i18n "skipToContentLnk" }}</a>
{{- partial "site-header.html" . -}}
<main id="content" class="ph3 ph4-m mw7">
{{- partial "page-breadcrumbs.html" . -}}
{{- block "main" . }}{{- end }}
<main id="content" class="mw-100">
<div class="mw7 ph3 ph4-m ">
{{- partial "page-breadcrumbs.html" . -}}
{{- block "main" . }}{{- end }}
</div>
</main>
{{- partial "footer.html" . -}}
<script type="text/javascript" src="{{ .Site.BaseURL }}/js/substratum.js"></script>
Expand Down
5 changes: 5 additions & 0 deletions src/scss/partials/_global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,8 @@
display: none;
}
}

article pre {
overflow: auto;
padding: 1em;
}

0 comments on commit 7254b12

Please sign in to comment.