mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-17 16:50:22 +00:00
fix docs/locales code escaping and css overflow
This commit is contained in:
parent
d05f37488d
commit
5a0055c15d
2 changed files with 4 additions and 1 deletions
|
|
@ -202,7 +202,7 @@ function injectLocaleList () {
|
|||
|
||||
const languageName = LocaleCode.getLanguageName(localeNameWithDash)
|
||||
const countryName = LocaleCode.getCountryName(localeNameWithDash)
|
||||
const npmPath = `<code><a href="https://www.npmjs.com/package/@uppy/locales">@uppy/locales</a>/lib/${localeName}</code>`
|
||||
const npmPath = `<code class="raw"><a href="https://www.npmjs.com/package/@uppy/locales">@uppy/locales</a>/lib/${localeName}</code>`
|
||||
const cdnPath = `[\`${localeName}.min.js\`](https://transloadit.edgly.net/releases/uppy/locales/v${localePackageVersion}/${localeName}.min.js)`
|
||||
const githubSource = `[\`${localeName}.js\`](https://github.com/transloadit/uppy/blob/master/packages/%40uppy/locales/src/${localeName}.js)`
|
||||
const mdTableRow = `| ${languageName}<br/> <small>${countryName}</small>${variant ? `<br /><small>(${variant})</small>` : ''} | ${npmPath} | ${cdnPath} | ✏️ ${githubSource} |`
|
||||
|
|
|
|||
|
|
@ -360,6 +360,9 @@
|
|||
.page-docs-locales table {
|
||||
overflow: visible;
|
||||
}
|
||||
.page-docs-locales .highlight table {
|
||||
overflow: scroll;
|
||||
}
|
||||
.page-docs-locales table td {
|
||||
white-space: nowrap;
|
||||
font-size: 90%;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue