Merge branch 'fix_onlyoffice_size_with_custom_navbar' into 'develop'

Fix onlyoffice size with custom navbar

See merge request digitaldemocratic/digitaldemocratic!33
Josep Maria Viñolas Auquer 2021-09-28 13:53:43 +00:00
commit b44129ad52
1 changed files with 2 additions and 0 deletions

View File

@ -136,6 +136,8 @@ add-plugins: connect-saml
docker exec -u www-data isard-apps-nextcloud-app php occ --no-warnings config:app:set onlyoffice DocumentServerUrl --value="https://oof.$$DOMAIN" docker exec -u www-data isard-apps-nextcloud-app php occ --no-warnings config:app:set onlyoffice DocumentServerUrl --value="https://oof.$$DOMAIN"
docker exec -u www-data isard-apps-nextcloud-app php occ --no-warnings config:app:set onlyoffice jwt_secret --value="secret" docker exec -u www-data isard-apps-nextcloud-app php occ --no-warnings config:app:set onlyoffice jwt_secret --value="secret"
docker exec -u www-data isard-apps-nextcloud-app php occ --no-warnings config:app:set onlyoffice jwt_header --value="Authorization" docker exec -u www-data isard-apps-nextcloud-app php occ --no-warnings config:app:set onlyoffice jwt_header --value="Authorization"
# Fix onlyoffice size with custom navbar
docker exec isard-apps-nextcloud-app sed -ie 's/\(\s\+min-height: calc(100% - \)50\(px);\)/\175\2/' /var/www/html/custom_apps/onlyoffice/css/editor.css
# Allow nextcloud into other apps iframes # Allow nextcloud into other apps iframes