[git-web] cgit.css: Use max-width for tables instead of width
- From: Rui Matos <rtcm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [git-web] cgit.css: Use max-width for tables instead of width
- Date: Wed, 23 Jul 2014 14:47:22 +0000 (UTC)
commit 48140cb63f911e664bacf7933c1ae9c378470871
Author: Rui Matos <tiagomatos gmail com>
Date: Thu Apr 24 14:03:09 2014 +0200
cgit.css: Use max-width for tables instead of width
This allows for narrower browser windows to not have horizontal
scrolling.
There's still a minimum width enforced by other elements.
cgit.css | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/cgit.css b/cgit.css
index c89fe36..c5e8f79 100644
--- a/cgit.css
+++ b/cgit.css
@@ -25,7 +25,8 @@ table {
background: none;
border-collapse: collapse;
margin: auto;
- width: 960px;
+ max-width: 960px;
+ width: 100%;
}
table#header {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]