summaryrefslogtreecommitdiffstats
path: root/gitweb/static/gitweb.css
diff options
context:
space:
mode:
authorRito Rhymes <rito@ritovision.com>2026-02-16 15:53:30 +0000
committerJunio C Hamano <gitster@pobox.com>2026-02-17 11:49:13 -0800
commit34108d7fa3b91ca52f9f99f646c0f1ba4111d357 (patch)
tree533a0a2dcc53e76bcadea237e56fd3db457d0536 /gitweb/static/gitweb.css
parentfd10720357f01baa8a07ff6fa8e22de198424fd3 (diff)
downloadgit-34108d7fa3b91ca52f9f99f646c0f1ba4111d357.tar.gz
git-34108d7fa3b91ca52f9f99f646c0f1ba4111d357.zip
gitweb: fix mobile footer overflow by wrapping text and clearing floats
On narrow screens, footer text can wrap, but the fixed 22px footer height and floated footer blocks can cause overflow. Switch to min-height and add a clearfix on the footer container so it grows to contain wrapped float content cleanly. Signed-off-by: Rito Rhymes <rito@ritovision.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'gitweb/static/gitweb.css')
-rw-r--r--gitweb/static/gitweb.css8
1 files changed, 7 insertions, 1 deletions
diff --git a/gitweb/static/gitweb.css b/gitweb/static/gitweb.css
index 135590b64c..8247646063 100644
--- a/gitweb/static/gitweb.css
+++ b/gitweb/static/gitweb.css
@@ -73,11 +73,17 @@ div.page_path {
}
div.page_footer {
- height: 22px;
+ min-height: 22px;
padding: 4px 8px;
background-color: #d9d8d1;
}
+div.page_footer::after {
+ content: "";
+ display: table;
+ clear: both;
+}
+
div.page_footer_text {
line-height: 22px;
float: left;