mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-27 17:54:39 +03:00
Ensure long file paths in code examples break if needed
This commit is contained in:
parent
bfd9506f1d
commit
bb6ecb82e5
|
@ -84,7 +84,7 @@
|
||||||
],
|
],
|
||||||
|
|
||||||
"ALPHA": true,
|
"ALPHA": true,
|
||||||
"V_CSS": "2.0a0",
|
"V_CSS": "2.0a1",
|
||||||
"V_JS": "2.0a0",
|
"V_JS": "2.0a0",
|
||||||
"DEFAULT_SYNTAX": "python",
|
"DEFAULT_SYNTAX": "python",
|
||||||
"ANALYTICS": "UA-58931649-1",
|
"ANALYTICS": "UA-58931649-1",
|
||||||
|
|
|
@ -190,7 +190,7 @@ mixin github(repo, file, alt_file, height)
|
||||||
code.c-code-block__content(data-gh-embed="#{repo}/#{branch}/#{file}")
|
code.c-code-block__content(data-gh-embed="#{repo}/#{branch}/#{file}")
|
||||||
|
|
||||||
footer.o-grid.u-text
|
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
|
div
|
||||||
+button(gh(repo, alt_file || file), false, "primary", "small") View on GitHub
|
+button(gh(repo, alt_file || file), false, "primary", "small") View on GitHub
|
||||||
|
|
||||||
|
|
|
@ -188,6 +188,9 @@
|
||||||
word-wrap: break-word
|
word-wrap: break-word
|
||||||
white-space: initial
|
white-space: initial
|
||||||
|
|
||||||
|
&.u-break--all
|
||||||
|
word-break: break-all
|
||||||
|
|
||||||
.u-no-border
|
.u-no-border
|
||||||
border: none
|
border: none
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user