Merge pull request #18819 from nextcloud/bugfix/guest-container-size

Limit the size of the container on guest pages
This commit is contained in:
Roeland Jago Douma 2020-01-11 08:23:09 +01:00 committed by GitHub
commit 106ea9fdaa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -99,7 +99,8 @@ body {
}
.wrapper {
max-width: 100%;
width: 100%;
max-width: 700px;
margin-top: 10vh;
}

View File

@ -14,7 +14,7 @@
<?php if ($_['tooBig']) { ?>
<div class="warning updateAnyways">
<?php p($l->t('I know that if I continue doing the update via web UI has the risk, that the request runs into a timeout and could cause data loss, but I have a backup and know how to restore my instance in case of a failure.' )); ?>
<p><?php p($l->t('I know that if I continue doing the update via web UI has the risk, that the request runs into a timeout and could cause data loss, but I have a backup and know how to restore my instance in case of a failure.' )); ?></p>
<a href="?IKnowThatThisIsABigInstanceAndTheUpdateRequestCouldRunIntoATimeoutAndHowToRestoreABackup=IAmSuperSureToDoThis" class="button updateAnywaysButton"><?php p($l->t('Upgrade via web on my own risk' )); ?></a>
</div>
<?php } ?>