summaryrefslogtreecommitdiffstats
path: root/public
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2019-09-04 07:38:31 +0000
committerGo MAEDA <maeda@farend.jp>2019-09-04 07:38:31 +0000
commit3432357a456ddc7361505d297a632cd652076921 (patch)
tree31d5155819308161d5e3e230fac68ffb87d07b07 /public
parente0275ac5501eca2c86b84963c56da4b6bfa13d54 (diff)
downloadredmine-3432357a456ddc7361505d297a632cd652076921.tar.gz
redmine-3432357a456ddc7361505d297a632cd652076921.zip
Footer is not placed at the bottom on pages with little content (#30467).
Patch by Bernhard Rohloff. git-svn-id: http://svn.redmine.org/redmine/trunk@18427 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'public')
-rw-r--r--public/stylesheets/application.css5
1 files changed, 4 insertions, 1 deletions
diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css
index 8804d2301..7a9c6497d 100644
--- a/public/stylesheets/application.css
+++ b/public/stylesheets/application.css
@@ -1,3 +1,4 @@
+html, body { min-height: 100vh; }
html {overflow-y:scroll;}
body { font-family: Verdana, sans-serif; font-size: 12px; color:#333; margin: 0; padding: 0; min-width: 900px; }
@@ -10,7 +11,9 @@ h4 {border-bottom: 1px solid #ccc; font-weight:normal;}
pre, code {font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace;}
/***** Layout *****/
+div[id^="wrapper"] { min-height: inherit; }
#wrapper {background: white;overflow: hidden;}
+#wrapper3 { display: flex; flex-direction: column; }
#top-menu {background: #3E5B76; color: #fff; height:1.8em; font-size: 0.8em; padding: 2px 2px 0px 6px;}
#top-menu ul {margin: 0; padding: 0;}
@@ -80,7 +83,7 @@ pre, code {font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace;}
#admin-menu ul {margin: 0; padding: 0;}
#admin-menu li {margin: 0; padding: 0 0 6px 0; list-style-type:none;}
-#main {display: flex; flex-direction: row-reverse;}
+#main {flex-grow: 2; display: flex; flex-direction: row-reverse;}
#sidebar{ flex-shrink: 0; width: 22%; padding-left: 20px; background: #EEEEEE; border-left: 1px solid #ddd}
#sidebar h3{ font-size: 14px; margin-top:14px; color: #666; }