mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 17:36:30 +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,
|
||||
"V_CSS": "2.0a0",
|
||||
"V_CSS": "2.0a1",
|
||||
"V_JS": "2.0a0",
|
||||
"DEFAULT_SYNTAX": "python",
|
||||
"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}")
|
||||
|
||||
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
|
||||
|
||||
|
|
|
@ -188,6 +188,9 @@
|
|||
word-wrap: break-word
|
||||
white-space: initial
|
||||
|
||||
&.u-break--all
|
||||
word-break: break-all
|
||||
|
||||
.u-no-border
|
||||
border: none
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user