diff options
author | 赵智超 <1012112796@qq.com> | 2020-04-12 04:31:17 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-11 17:31:17 -0300 |
commit | 59c31b490f223059d766622f584502848219bab7 (patch) | |
tree | 351ac1ab3d1a84915040d810131372e69993b50f /templates/status | |
parent | 7ac116c9b5c4c6ee100b5961ac15f003c614a0fe (diff) | |
download | gitea-59c31b490f223059d766622f584502848219bab7.tar.gz gitea-59c31b490f223059d766622f584502848219bab7.zip |
fix 404 and 500 image size in small size screen (#11043)
do it by define Semantic UI image class
Signed-off-by: a1012112796 <1012112796@qq.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'templates/status')
-rw-r--r-- | templates/status/404.tmpl | 2 | ||||
-rw-r--r-- | templates/status/500.tmpl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/status/404.tmpl b/templates/status/404.tmpl index 6992803113..bb5ac1d5c6 100644 --- a/templates/status/404.tmpl +++ b/templates/status/404.tmpl @@ -1,7 +1,7 @@ {{template "base/head" .}} {{if .IsRepo}}<div class="repository">{{template "repo/header" .}}</div>{{end}} <div class="ui container center"> - <p style="margin-top: 100px"><img src="{{StaticUrlPrefix}}/img/404.png" alt="404"/></p> + <p style="margin-top: 100px"><img class="ui centered image" src="{{StaticUrlPrefix}}/img/404.png" alt="404"/></p> <div class="ui divider"></div> <br> <p>{{.i18n.Tr "error404" | Safe}} diff --git a/templates/status/500.tmpl b/templates/status/500.tmpl index 191e5929d8..1dc7061d45 100644 --- a/templates/status/500.tmpl +++ b/templates/status/500.tmpl @@ -1,6 +1,6 @@ {{template "base/head" .}} <div class="ui container center"> - <p style="margin-top: 100px"><img src="{{StaticUrlPrefix}}/img/500.png" alt="500"/></p> + <p style="margin-top: 100px"><img class="ui centered image" src="{{StaticUrlPrefix}}/img/500.png" alt="500"/></p> <div class="ui divider"></div> <br> {{if .ErrorMsg}}<p>An error has occurred :</p> |