diff --git a/frame.js b/frame.js index 9224205e..4f958dd4 100644 --- a/frame.js +++ b/frame.js @@ -402,7 +402,7 @@ Volcanos(chat.ONAPPEND, {_init: function(can, meta, list, cb, target, field) { }} }); table && can.onappend.style(can, chat.CONTENT, table), table && msg.IsDetail() && can.onappend.style(can, mdb.DETAIL, table) msg.append && msg.append[msg.append.length-1] == ctx.ACTION && can.onappend.style(can, ctx.ACTION, table) - if (msg.Option(ice.TABLE_CHECKBOX) == ice.TRUE) { can.onappend.checkbox(can, table, msg), can.onappend.style(can, html.CHECKBOX, table) } + if (msg.Option(ice.TABLE_CHECKBOX) == ice.TRUE && !msg.IsDetail()) { can.onappend.checkbox(can, table, msg), can.onappend.style(can, html.CHECKBOX, table) } (can.isCmdMode() || table.offsetWidth > can.ConfWidth() / 2) && can.onappend.style(can, "full", table) return keys && can.page.RangeTable(can, table, can.core.List(keys, function(key) { return can.page.Select(can, table, html.TH, function(th, index) { if (th.innerHTML == key) { return index } })[0] })), table }, diff --git a/index.css b/index.css index 58d14f1d..552cdbc0 100644 --- a/index.css +++ b/index.css @@ -91,13 +91,11 @@ table.content th.select { border:var(--notice-bg-color) solid 1px; } table.content th.select[data-asc="1"] i.bi-sort-down-alt { display:none; } table.content th.select[data-asc="0"] i.bi-sort-up { display:none; } table.content td { padding:var(--table-padding); } -table.content.checkbox th:first-child { text-align:center; padding:var(--table-padding); } -table.content.checkbox td:first-child { text-align:center; } +table.content.checkbox th:first-child { text-align:center; padding:var(--table-padding); position:sticky; left:2px; } +table.content.checkbox td:first-child { background-color:var(--th-bg-color); text-align:center; position:sticky; left:2px; } table.content.detail td:first-child { width:var(--input-width); } table.content.action th:last-child { position:sticky; right:2px; } -table.content.action td:last-child { background-color:var(--th-bg-color); position:sticky; right:2px; text-align:center; } -table.content.checkbox th:first-child { position:sticky; left:2px; } -table.content.checkbox td:first-child { background-color:var(--th-bg-color); position:sticky; left:2px; text-align:center; } +table.content.action td:last-child { background-color:var(--th-bg-color); text-align:center; position:sticky; right:2px; } table.content:hover col.option { background-color:var(--hover-bg-color); } table.content col.action { width:var(--project); } table.content col.time { width:180px; }