summaryrefslogtreecommitdiffstats
path: root/web_src
diff options
context:
space:
mode:
authorPercy Ma <kecrily@gmail.com>2022-11-25 14:37:02 +0800
committerGitHub <noreply@github.com>2022-11-25 14:37:02 +0800
commitb91167b77230b891a38e21f83926341b641ca525 (patch)
treebde419f131851b0df719e371a6b7628d1bc64137 /web_src
parenta1ae83f36ece5e37c738bd796227cf5990ccc030 (diff)
downloadgitea-b91167b77230b891a38e21f83926341b641ca525.tar.gz
gitea-b91167b77230b891a38e21f83926341b641ca525.zip
fix(web): keep the pages of the navigation in the center (#21867)
Keep the pages of the navigation in the center <table> <tr> <th>Before</th> <th>After</th> </tr> <tr> <td> <img width="200" alt="image" src="https://user-images.githubusercontent.com/45708948/202838756-d6d57b3f-8144-4a43-a33b-ea7c8ab3a495.png"> </td> <td> <img width="192" alt="image" src="https://user-images.githubusercontent.com/45708948/202838740-bbae1e86-b14c-421d-92d4-d0e53d5952a2.png"> </td> </tr> </table> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: John Olheiser <john.olheiser@gmail.com>
Diffstat (limited to 'web_src')
-rw-r--r--web_src/less/helpers.less2
1 files changed, 2 insertions, 0 deletions
diff --git a/web_src/less/helpers.less b/web_src/less/helpers.less
index f475693926..46284811ee 100644
--- a/web_src/less/helpers.less
+++ b/web_src/less/helpers.less
@@ -172,6 +172,8 @@
.py-4 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.py-5 { padding-top: 2rem !important; padding-bottom: 2rem !important; }
+.content-center { align-content: center !important; }
+
@media @mediaSm {
.db-small { display: block !important; }
.w-100-small { width: 100% !important; }