aboutsummaryrefslogtreecommitdiffstats
path: root/templates/status/500.tmpl
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2024-03-22 14:45:10 +0100
committerGitHub <noreply@github.com>2024-03-22 13:45:10 +0000
commitf88ad5424f381bf2a45fd863b551c5a72891bb68 (patch)
tree05ec4c52474381e8c694c539e532a5dafd20d252 /templates/status/500.tmpl
parent0c55506b407731546c6bacd1442a785db68f55a7 (diff)
downloadgitea-f88ad5424f381bf2a45fd863b551c5a72891bb68.tar.gz
gitea-f88ad5424f381bf2a45fd863b551c5a72891bb68.zip
Replace 10 more gt- classes with tw- (#29945)
Likely the biggest change of the tailwind refactors. Only thing of note is that `tw-flex-1` resolves to `flex: 1 1 0%` while our `gt-f1` was `flex: 1 1 0`, I don't think it will make any difference. Commands I've ran: ```sh perl -p -i -e 's#gt-vm#tw-align-middle#g' web_src/js/**/* templates/**/* models/**/* perl -p -i -e 's#gt-fw#tw-flex-wrap#g' web_src/js/**/* templates/**/* models/**/* perl -p -i -e 's#gt-f1#tw-flex-1#g' web_src/js/**/* templates/**/* models/**/* perl -p -i -e 's#gt-fc#tw-flex-col#g' web_src/js/**/* templates/**/* models/**/* perl -p -i -e 's#gt-sb#tw-justify-between#g' web_src/js/**/* templates/**/* models/**/* perl -p -i -e 's#gt-je#tw-justify-end#g' web_src/js/**/* templates/**/* models/**/* perl -p -i -e 's#gt-jc#tw-justify-center#g' web_src/js/**/* templates/**/* models/**/* perl -p -i -e 's#gt-ac#tw-content-center#g' web_src/js/**/* templates/**/* models/**/* tests/**/* perl -p -i -e 's#gt-df#tw-flex#g' web_src/js/**/* templates/**/* models/**/* tests/**/* perl -p -i -e 's#gt-dib#tw-inline-block#g' web_src/js/**/* templates/**/* models/**/* tests/**/* Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Diffstat (limited to 'templates/status/500.tmpl')
-rw-r--r--templates/status/500.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/status/500.tmpl b/templates/status/500.tmpl
index 29de861a25..106529ca72 100644
--- a/templates/status/500.tmpl
+++ b/templates/status/500.tmpl
@@ -17,8 +17,8 @@
<body>
<div class="full height">
<nav class="ui secondary menu">
- <div class="ui container gt-df">
- <div class="item gt-f1">
+ <div class="ui container tw-flex">
+ <div class="item tw-flex-1">
<a href="{{AppSubUrl}}/" aria-label="{{ctx.Locale.Tr "home"}}">
<img width="30" height="30" src="{{AssetUrlPrefix}}/img/logo.svg" alt="{{ctx.Locale.Tr "logo"}}" aria-hidden="true">
</a>