aboutsummaryrefslogtreecommitdiffstats
path: root/web_src/css/form.css
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2023-06-09 11:10:51 +0200
committerGitHub <noreply@github.com>2023-06-09 09:10:51 +0000
commit6a075589bf2aefeeee67613c76b750628ce1618e (patch)
tree2fa80b2b1a7e1691f1479df1fe3d6c99c02ab6a5 /web_src/css/form.css
parent623b3b590e0bcf0460c6cd9376996cb6fe221747 (diff)
downloadgitea-6a075589bf2aefeeee67613c76b750628ce1618e.tar.gz
gitea-6a075589bf2aefeeee67613c76b750628ce1618e.zip
Fix mobile navbar and misc cleanups (#25134)
- Fix and improve mobile navbar layout - Apply all cleanups suggested in https://github.com/go-gitea/gitea/pull/25111 - Make media query breakpoints match Fomantic's exactly - Clean up whitespace in class on navbar items Mobile navbar before and after: <img width="745" alt="Screenshot 2023-06-08 at 08 40 56" src="https://github.com/go-gitea/gitea/assets/115237/ca84b239-b10f-41db-8c06-dcf2b6dd9d28"> <img width="739" alt="Screenshot 2023-06-08 at 08 41 23" src="https://github.com/go-gitea/gitea/assets/115237/09133c54-eb7e-4110-858c-ead23c3b7521"> --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Co-authored-by: Giteabot <teabot@gitea.io>
Diffstat (limited to 'web_src/css/form.css')
-rw-r--r--web_src/css/form.css14
1 files changed, 7 insertions, 7 deletions
diff --git a/web_src/css/form.css b/web_src/css/form.css
index a6106016b5..9527ef9d46 100644
--- a/web_src/css/form.css
+++ b/web_src/css/form.css
@@ -197,7 +197,7 @@ textarea:focus,
}
}
-@media (max-width: 767px) {
+@media (max-width: 767.98px) {
#create-page-form form .optional .title {
margin-left: 15px;
}
@@ -315,7 +315,7 @@ textarea:focus,
}
}
-@media (max-width: 767px) {
+@media (max-width: 767.98px) {
.user.activate form .optional .title,
.user.forgot.password form .optional .title,
.user.reset.password form .optional .title,
@@ -353,7 +353,7 @@ textarea:focus,
width: 200px;
}
-@media (max-width: 767px) {
+@media (max-width: 767.98px) {
.user.activate form .inline.field > label,
.user.forgot.password form .inline.field > label,
.user.reset.password form .inline.field > label,
@@ -449,7 +449,7 @@ textarea:focus,
}
}
-@media (max-width: 767px) {
+@media (max-width: 767.98px) {
.repository.new.repo form .optional .title,
.repository.new.migrate form .optional .title,
.repository.new.fork form .optional .title {
@@ -483,7 +483,7 @@ textarea:focus,
width: 50% !important;
}
-@media (max-width: 767px) {
+@media (max-width: 767.98px) {
.repository.new.repo form label,
.repository.new.migrate form label,
.repository.new.fork form label,
@@ -516,7 +516,7 @@ textarea:focus,
width: 50% !important;
}
-@media (max-width: 767px) {
+@media (max-width: 767.98px) {
.repository.new.repo .ui.form .selection.dropdown:not(.owner) {
width: 100% !important;
}
@@ -534,7 +534,7 @@ textarea:focus,
font-family: var(--fonts-monospace);
}
-@media (max-width: 767px) {
+@media (max-width: 767.98px) {
.new.org .ui.form .field button,
.new.org .ui.form .field a {
margin-bottom: 1em;