From f43e9fc4fd6ce0dc1e4704c0996e6698b275a85e Mon Sep 17 00:00:00 2001 From: Gusted Date: Tue, 6 Jun 2023 19:14:26 +0000 Subject: [PATCH] [MOBILE] Improve mobile experience (#812) - Add `stackable` to `very relaxed` pages, such they don't take extra margins from the space. - Add margin bottom to the user item in the navbar, so it doesn't look like crammed. - Make the migrate page usable, by reducing three to two cards in a row and making the icon smaller. Co-authored-by: Gusted Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/812 --- templates/base/head_navbar.tmpl | 2 +- templates/install.tmpl | 2 +- templates/org/create.tmpl | 2 +- templates/repo/create.tmpl | 2 +- templates/repo/migrate/codebase.tmpl | 2 +- templates/repo/migrate/git.tmpl | 2 +- templates/repo/migrate/gitbucket.tmpl | 2 +- templates/repo/migrate/gitea.tmpl | 2 +- templates/repo/migrate/github.tmpl | 2 +- templates/repo/migrate/gitlab.tmpl | 2 +- templates/repo/migrate/gogs.tmpl | 2 +- templates/repo/migrate/migrate.tmpl | 4 ++-- templates/repo/migrate/onedev.tmpl | 2 +- templates/repo/pulls/fork.tmpl | 2 +- templates/user/auth/activate.tmpl | 2 +- templates/user/auth/forgot_passwd.tmpl | 2 +- templates/user/auth/link_account.tmpl | 2 +- templates/user/auth/prohibit_login.tmpl | 2 +- templates/user/auth/reset_passwd.tmpl | 2 +- templates/user/auth/signin.tmpl | 2 +- templates/user/auth/signup.tmpl | 2 +- templates/user/auth/twofa.tmpl | 2 +- templates/user/auth/twofa_scratch.tmpl | 2 +- templates/user/auth/webauthn.tmpl | 2 +- web_src/css/base.css | 7 +++++++ web_src/css/modules/card.css | 6 ++++++ 26 files changed, 38 insertions(+), 25 deletions(-) diff --git a/templates/base/head_navbar.tmpl b/templates/base/head_navbar.tmpl index a61c623964..cb8ea73c93 100644 --- a/templates/base/head_navbar.tmpl +++ b/templates/base/head_navbar.tmpl @@ -148,7 +148,7 @@ -