Stretch SideBar to max height (useful in explorer) (#250)

Stretch SideBar to max height, relative i18next paths
This commit is contained in:
Jaco Greeff 2018-08-22 15:30:18 +02:00 committed by GitHub
parent b4d43a0f71
commit 62e94be233
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 5 deletions

View File

@ -3,16 +3,16 @@
/* of the ISC license. See the LICENSE file for details. */
.apps--App {
align-items: stretch;
box-sizing: border-box;
display: flex;
height: 100%;
min-height: 100vh;
}
.apps--App .apps--Content,
.apps--App .apps--SideBar, {
display: flex;
flex-direction: column;
height: 100%;
flex-grow: 1;
overflow-y: auto;
}

View File

@ -12,13 +12,16 @@ i18n
.use(LanguageDetector)
.use(reactI18nextModule)
.init({
fallbackLng: 'en',
ns: ['ui'],
defaultNS: 'ui',
backend: {
loadPath: 'locales/{{lng}}/{{ns}}.json'
},
debug: false,
defaultNS: 'ui',
fallbackLng: 'en',
interpolation: {
escapeValue: false
},
ns: ['ui'],
react: {
wait: true
}