diff --git a/src/webui/www/public/css/dynamicTable.css b/src/webui/www/public/css/dynamicTable.css index 55a024ab7..270a1dafc 100644 --- a/src/webui/www/public/css/dynamicTable.css +++ b/src/webui/www/public/css/dynamicTable.css @@ -8,8 +8,7 @@ **************************************************************/ #properties #torrentFiles table, -#properties #trackers table, -#transferList table { +#properties #trackers table { border: 1px solid #ccc; width: 100%; } @@ -78,18 +77,50 @@ vertical-align: middle; } -#trackers th, -#trackers td, -#torrentFiles th, -#torrentFiles td, -#transferList th, -#transferList td { - text-overflow: ellipsis; - overflow: hidden; - white-space: nowrap; - max-width: 300px; -} - tr.dynamicTableHeader { cursor: pointer; } + +.dynamicTable { + table-layout: fixed; + width :1%; + padding: 0; + border-spacing: 0; +} + +.dynamicTable th { + padding: 5px 10px; + white-space: nowrap; +} + +.dynamicTable td { + padding: 0px 3px; + white-space: nowrap; +} + +.dynamicTable thead tr { + background-color: #eee; +} + +.dynamicTable th, +.dynamicTable td { + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + max-width: 300px; +} + +.dynamicTableFixedHeaderDiv { + overflow: hidden; +} + +.dynamicTableDiv { + overflow: auto; +} + +.dynamicTableDiv thead th { + line-height: 0px !important; + height: 0px !important; + padding-top: 0px !important; + padding-bottom: 0px !important; +} diff --git a/src/webui/www/public/css/style.css b/src/webui/www/public/css/style.css index f99d60a54..e101065fb 100644 --- a/src/webui/www/public/css/style.css +++ b/src/webui/www/public/css/style.css @@ -389,7 +389,7 @@ td.generalLabel { margin-bottom: -3px; } -.torrentTable { +.unselectable { -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; @@ -398,20 +398,6 @@ td.generalLabel { user-select: none; } -.torrentTable th { - padding: 5px 10px; - white-space: nowrap; -} - -.torrentTable td { - padding: 0px 3px; - white-space: nowrap; -} - -.torrentTable thead tr { - background-color: #eee; -} - #prop_general { padding: 2px; } diff --git a/src/webui/www/public/properties_content.html b/src/webui/www/public/properties_content.html index 60b3dca83..624922062 100644 --- a/src/webui/www/public/properties_content.html +++ b/src/webui/www/public/properties_content.html @@ -49,7 +49,7 @@