diff --git a/website/_harp.json b/website/_harp.json index d87fda049..7c69beef0 100644 --- a/website/_harp.json +++ b/website/_harp.json @@ -84,7 +84,7 @@ ], "ALPHA": true, - "V_CSS": "2.0a0", + "V_CSS": "2.0a1", "V_JS": "2.0a0", "DEFAULT_SYNTAX": "python", "ANALYTICS": "UA-58931649-1", diff --git a/website/_includes/_mixins.jade b/website/_includes/_mixins.jade index 7666889b5..414ee809e 100644 --- a/website/_includes/_mixins.jade +++ b/website/_includes/_mixins.jade @@ -190,7 +190,7 @@ mixin github(repo, file, alt_file, height) code.c-code-block__content(data-gh-embed="#{repo}/#{branch}/#{file}") footer.o-grid.u-text - .o-block-small.u-flex-full #[+icon("github")] #[code=repo + '/' + (alt_file || file)] + .o-block-small.u-flex-full.u-padding-small #[+icon("github")] #[code.u-break.u-break--all=repo + '/' + (alt_file || file)] div +button(gh(repo, alt_file || file), false, "primary", "small") View on GitHub diff --git a/website/assets/css/_base/_utilities.sass b/website/assets/css/_base/_utilities.sass index 91a6251e6..8c1e82706 100644 --- a/website/assets/css/_base/_utilities.sass +++ b/website/assets/css/_base/_utilities.sass @@ -188,6 +188,9 @@ word-wrap: break-word white-space: initial + &.u-break--all + word-break: break-all + .u-no-border border: none