summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2019-01-19 10:46:40 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2019-01-19 10:46:40 +0000
commit08fd9c399b785d89815a35f0d7d8289dfdc5f142 (patch)
tree09e168af784eb23fa8b37e81ea791f0256f7913e
parent04ac58b3c52479e0deb937a9a7063df3fbd84b95 (diff)
downloadredmine-08fd9c399b785d89815a35f0d7d8289dfdc5f142.tar.gz
redmine-08fd9c399b785d89815a35f0d7d8289dfdc5f142.zip
Do not break inside columns (#29951).
Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@17812 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--public/stylesheets/application.css22
1 files changed, 20 insertions, 2 deletions
diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css
index 724b6d301..4c94b712b 100644
--- a/public/stylesheets/application.css
+++ b/public/stylesheets/application.css
@@ -597,10 +597,28 @@ ul.projects div.description li {list-style-type:initial;}
-moz-column-width: 400px;
-moz-column-gap : 0.5rem;
}
-#projects-index ul.projects li.root>ul.projects { border-left: 3px solid #e0e0e0; padding-left:1em;}
-#projects-index ul.projects li.root {margin-bottom: 1em;}
+#projects-index li.root ul.projects { border-left: 3px solid #e0e0e0; padding-left:1em;}
+#projects-index ul.projects li.root {
+ margin-bottom: 1em;
+ padding: 15px 20px;
+ border: 1px solid #d7d7d7;
+ border-radius: 3px;
+ box-sizing: border-box;
+ -moz-box-sizing: border-box;
+ -webkit-box-sizing: border-box;
+ break-inside: avoid-column;
+ -webkit-break-inside: avoid-column;
+ -moz-break-inside: avoid-column;
+ page-break-inside:avoid;
+ -webkit-column-break-inside: avoid;
+ -moz-column-break-inside: avoid;
+ width: 100%;
+}
#projects-index ul.projects li.child {margin-top: 1em;}
#projects-index ul.projects div.root a.project { font-family: "Trebuchet MS", Verdana, sans-serif; font-weight: bold; font-size: 16px; margin: 0 0 10px 0; }
+#projects-index ul.projects div.description {
+ padding-top: 0.5em;
+}
#projects-index a.icon-fav {padding-left:0; padding-right:20px; background-position:98% 50%;}
#notified-projects>ul, #tracker_project_ids>ul, #custom_field_project_ids>ul {max-height:250px; overflow-y:auto;}