Updated Branches: refs/heads/trunk ff58adac8 -> cfdb9ce59
AMBARI-3713. When filtering on hosts, the table column sizes shift, should stay fixed. (onechiporenko) Project: http://git-wip-us.apache.org/repos/asf/incubator-ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ambari/commit/cfdb9ce5 Tree: http://git-wip-us.apache.org/repos/asf/incubator-ambari/tree/cfdb9ce5 Diff: http://git-wip-us.apache.org/repos/asf/incubator-ambari/diff/cfdb9ce5 Branch: refs/heads/trunk Commit: cfdb9ce59f947dfdf5190b4b3977b47f55a537b6 Parents: ff58ada Author: Oleg Nechiporenko <cv_git...@yahoo.com> Authored: Thu Nov 7 16:22:24 2013 +0200 Committer: Oleg Nechiporenko <cv_git...@yahoo.com> Committed: Thu Nov 7 16:25:22 2013 +0200 ---------------------------------------------------------------------- ambari-web/app/styles/application.less | 39 +++++++++++++++++++++++------ 1 file changed, 32 insertions(+), 7 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/cfdb9ce5/ambari-web/app/styles/application.less ---------------------------------------------------------------------- diff --git a/ambari-web/app/styles/application.less b/ambari-web/app/styles/application.less index adc7878..61c2a3f 100644 --- a/ambari-web/app/styles/application.less +++ b/ambari-web/app/styles/application.less @@ -2651,24 +2651,49 @@ table.graphs { .width70{ width:70%; } - .table { //margin-bottom: 0; - thead { //background: #EDF5FC; - } + .table { th { border-top: none; } th, td { - width: 82px; border-left-width: 0; } + + .col0, + td:first-child, + th:first-child { + width: 3%; + min-width:13px!important; + } + .col1, + td:first-child + td, + th:first-child + th{ + width: 19%; + } + .col2,.col3,.col4,.col5,.col6, + td:first-child + td + td, + th:first-child + th + th, + td:first-child + td + td + td, + th:first-child + th + th + th, + td:first-child + td + td + td + td, + th:first-child + th + th + th + th, + td:first-child + td + td + td + td + td, + th:first-child + th + th + th + th + th, + td:first-child + td + td + td + td + td + td, + th:first-child + th + th + th + th + th + th{ + width: 12%; + } + .col7, + td:first-child + td + td + td + td + td + td + td, + th:first-child + th + th + th + th + th + th + th{ + width: 18%; + } + td.name { - min-width: 260px; - max-width: 360px; overflow: auto; overflow-wrap: break-word; } th.first, td.first { - width: 10px !important; border-left-width: 1px; } td.first label {