From 46cbf8ba155f2d5471ee1dc26fe0a65e901d27b6 Mon Sep 17 00:00:00 2001 From: roman-yagodin Date: Thu, 17 Oct 2019 10:02:28 +0400 Subject: [PATCH] GH-20 Remove buggy splitting content in columns --- src/scss/_fixes.scss | 6 ++++++ stylesheets/_application.css | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/scss/_fixes.scss b/src/scss/_fixes.scss index e653509..1dfd805 100644 --- a/src/scss/_fixes.scss +++ b/src/scss/_fixes.scss @@ -6,4 +6,10 @@ /* Fix ugly wrapping in Assigned To column */ table.list td.assigned_to { white-space: nowrap; +} + +// GH-20 Remove buggy splitting content in columns +.objects-selection > div, #user_group_ids { + column-count: 1; + column-width: auto; } \ No newline at end of file diff --git a/stylesheets/_application.css b/stylesheets/_application.css index b153b67..afb55ca 100644 --- a/stylesheets/_application.css +++ b/stylesheets/_application.css @@ -1 +1 @@ -#top-menu{background-color:#36674f;padding:6px 2px 2px 10px}#top-menu a{margin-right:12px}#header{background-color:#569f7b}a,a:link,a:visited{color:#0d764f}#main-menu>ul>li>a:hover{background-color:#66b48a}#main-menu>ul>li>a.selected{border-top:3px solid #0d764f}#main-menu ul li a.new-object{background-color:#0d764f;border-top:3px solid #fff}#main-menu .menu-children{border-right-color:#66b48a;border-bottom-color:#66b48a;border-left-color:#66b48a}#main-menu .menu-children li a:hover{color:#fff;background-color:#66b48a}input.autocomplete{border-color:#97b9a9 !important}#sidebar a.selected{background-color:#569f7b}tr.group span.count{background:#569f7b}.drdn-items>a:hover{background-color:#66b48a}.pagination ul.pages li.current{background-color:#569f7b;border-color:#569f7b}.pagination ul.pages li.page a:hover,.pagination ul.pages li.page a:active{color:#0d764f}div.journal ul.details a,ul.revision-info a{color:#64b896}#projects-index ul.projects li.root{display:inline-block}table.list td.assigned_to{white-space:nowrap}div.issue.priority-highest div.attributes div.priority.attribute div.value,div.issue.priority-highest div.subject h3,tr.priority-highest td.priority,tr.priority-highest td.id a,tr.priority-highest td.id a:hover,tr.priority-highest td.subject a,tr.priority-highest td.subject a:hover{color:#F00}div.issue.priority-high2 div.attributes div.priority.attribute div.value,div.issue.priority-high2 div.subject h3,tr.priority-high2 td.priority,tr.priority-high2 td.id a,tr.priority-high2 td.id a:hover,tr.priority-high2 td.subject a,tr.priority-high2 td.subject a:hover{color:#FF5300}div.issue.priority-high3 div.attributes div.priority.attribute div.value,div.issue.priority-high3 div.subject h3,tr.priority-high3 td.priority,tr.priority-high3 td.id a,tr.priority-high3 td.id a:hover,tr.priority-high3 td.subject a,tr.priority-high3 td.subject a:hover{color:#DA9100}div.issue.priority-lowest div.attributes div.priority.attribute div.value,div.issue.priority-lowest div.subject h3,tr.priority-lowest td.priority,tr.priority-lowest td.id a,tr.priority-lowest td.id a:hover,tr.priority-lowest td.subject a,tr.priority-lowest td.subject a:hover{color:#8093F1}table.issues td.status span,div.issue div.attributes div.status.attribute div.value span{border-radius:8px;padding:0 8px}div.issue div.attributes div.status.attribute div.value span{display:inline-block}table.issues tr.status-1 td.status span,div.issue.status-1 div.attributes div.status.attribute div.value span{border:1px solid #ccc;background:#fff;color:#fff;color:#000}table.issues tr.status-2 td.status span,div.issue.status-2 div.attributes div.status.attribute div.value span{border:1px solid #060;background:#0c0;color:#fff}table.issues tr.status-3 td.status span,div.issue.status-3 div.attributes div.status.attribute div.value span{border:1px solid #006;background:#00c;color:#fff}table.issues tr.status-4 td.status span,div.issue.status-4 div.attributes div.status.attribute div.value span{border:1px solid #990;background:#ff0;color:#fff;color:#000}table.issues tr.status-5 td.status span,div.issue.status-5 div.attributes div.status.attribute div.value span{border:1px solid #477a1f;background:#7c3;color:#fff;color:#000}table.issues tr.status-6 td.status span,div.issue.status-6 div.attributes div.status.attribute div.value span{border:1px solid #600;background:#c00;color:#fff}table.issues tr.status-7 td.status span,div.issue.status-7 div.attributes div.status.attribute div.value span{border:1px solid #a6ff11;background:#cf7;color:#fff;color:#000}table.issues tr.status-8 td.status span,div.issue.status-8 div.attributes div.status.attribute div.value span{border:1px solid #f1f;background:#f7f;color:#fff}#sidebar ul.queries li{margin-bottom:4px}#header .sidebar-toggle-button{display:block;position:absolute;bottom:0;right:6px;z-index:99;padding:5px 10px;color:#333;background-color:#EEEEEE;border-top-width:3px;border-top-style:solid;border-top-color:#0d764f;border-bottom:none;border-right:none;font-weight:bold}#header .sidebar-toggle-button.closed{color:#FFF;border-top-color:#FFF;background-color:#0d764f}@media screen and (max-width: 899px){#header .sidebar-toggle-button{display:none}}.theme-Greenmine .select2-container--default .select2-results__option--highlighted[aria-selected]{background-color:#66b48a}.theme-Greenmine .select2-container--default .select2-search--dropdown .select2-search__field{border-color:#97b9a9}form#issue-form.edit_issue select#issue_status_id{font-weight:bold} +#top-menu{background-color:#36674f;padding:6px 2px 2px 10px}#top-menu a{margin-right:12px}#header{background-color:#569f7b}a,a:link,a:visited{color:#0d764f}#main-menu>ul>li>a:hover{background-color:#66b48a}#main-menu>ul>li>a.selected{border-top:3px solid #0d764f}#main-menu ul li a.new-object{background-color:#0d764f;border-top:3px solid #fff}#main-menu .menu-children{border-right-color:#66b48a;border-bottom-color:#66b48a;border-left-color:#66b48a}#main-menu .menu-children li a:hover{color:#fff;background-color:#66b48a}input.autocomplete{border-color:#97b9a9 !important}#sidebar a.selected{background-color:#569f7b}tr.group span.count{background:#569f7b}.drdn-items>a:hover{background-color:#66b48a}.pagination ul.pages li.current{background-color:#569f7b;border-color:#569f7b}.pagination ul.pages li.page a:hover,.pagination ul.pages li.page a:active{color:#0d764f}div.journal ul.details a,ul.revision-info a{color:#64b896}#projects-index ul.projects li.root{display:inline-block}table.list td.assigned_to{white-space:nowrap}.objects-selection>div,#user_group_ids{column-count:1;column-width:auto}div.issue.priority-highest div.attributes div.priority.attribute div.value,div.issue.priority-highest div.subject h3,tr.priority-highest td.priority,tr.priority-highest td.id a,tr.priority-highest td.id a:hover,tr.priority-highest td.subject a,tr.priority-highest td.subject a:hover{color:#F00}div.issue.priority-high2 div.attributes div.priority.attribute div.value,div.issue.priority-high2 div.subject h3,tr.priority-high2 td.priority,tr.priority-high2 td.id a,tr.priority-high2 td.id a:hover,tr.priority-high2 td.subject a,tr.priority-high2 td.subject a:hover{color:#FF5300}div.issue.priority-high3 div.attributes div.priority.attribute div.value,div.issue.priority-high3 div.subject h3,tr.priority-high3 td.priority,tr.priority-high3 td.id a,tr.priority-high3 td.id a:hover,tr.priority-high3 td.subject a,tr.priority-high3 td.subject a:hover{color:#DA9100}div.issue.priority-lowest div.attributes div.priority.attribute div.value,div.issue.priority-lowest div.subject h3,tr.priority-lowest td.priority,tr.priority-lowest td.id a,tr.priority-lowest td.id a:hover,tr.priority-lowest td.subject a,tr.priority-lowest td.subject a:hover{color:#8093F1}table.issues td.status span,div.issue div.attributes div.status.attribute div.value span{border-radius:8px;padding:0 8px}div.issue div.attributes div.status.attribute div.value span{display:inline-block}table.issues tr.status-1 td.status span,div.issue.status-1 div.attributes div.status.attribute div.value span{border:1px solid #ccc;background:#fff;color:#fff;color:#000}table.issues tr.status-2 td.status span,div.issue.status-2 div.attributes div.status.attribute div.value span{border:1px solid #060;background:#0c0;color:#fff}table.issues tr.status-3 td.status span,div.issue.status-3 div.attributes div.status.attribute div.value span{border:1px solid #006;background:#00c;color:#fff}table.issues tr.status-4 td.status span,div.issue.status-4 div.attributes div.status.attribute div.value span{border:1px solid #990;background:#ff0;color:#fff;color:#000}table.issues tr.status-5 td.status span,div.issue.status-5 div.attributes div.status.attribute div.value span{border:1px solid #477a1f;background:#7c3;color:#fff;color:#000}table.issues tr.status-6 td.status span,div.issue.status-6 div.attributes div.status.attribute div.value span{border:1px solid #600;background:#c00;color:#fff}table.issues tr.status-7 td.status span,div.issue.status-7 div.attributes div.status.attribute div.value span{border:1px solid #a6ff11;background:#cf7;color:#fff;color:#000}table.issues tr.status-8 td.status span,div.issue.status-8 div.attributes div.status.attribute div.value span{border:1px solid #f1f;background:#f7f;color:#fff}#sidebar ul.queries li{margin-bottom:4px}#header .sidebar-toggle-button{display:block;position:absolute;bottom:0;right:6px;z-index:99;padding:5px 10px;color:#333;background-color:#EEEEEE;border-top-width:3px;border-top-style:solid;border-top-color:#0d764f;border-bottom:none;border-right:none;font-weight:bold}#header .sidebar-toggle-button.closed{color:#FFF;border-top-color:#FFF;background-color:#0d764f}@media screen and (max-width: 899px){#header .sidebar-toggle-button{display:none}}.theme-Greenmine .select2-container--default .select2-results__option--highlighted[aria-selected]{background-color:#66b48a}.theme-Greenmine .select2-container--default .select2-search--dropdown .select2-search__field{border-color:#97b9a9}form#issue-form.edit_issue select#issue_status_id{font-weight:bold}