fix(export): tighten action column layout

This commit is contained in:
aits2026
2026-03-06 11:45:38 +08:00
parent 75b58d0423
commit 39662038f7
2 changed files with 8 additions and 8 deletions

View File

@@ -1163,7 +1163,7 @@
--contacts-select-col-width: 34px; --contacts-select-col-width: 34px;
--contacts-message-col-width: 120px; --contacts-message-col-width: 120px;
--contacts-media-col-width: 72px; --contacts-media-col-width: 72px;
--contacts-action-col-width: 280px; --contacts-action-col-width: 160px;
overflow: hidden; overflow: hidden;
border: 1px solid var(--border-color); border: 1px solid var(--border-color);
border-radius: 10px; border-radius: 10px;
@@ -3324,7 +3324,7 @@
.table-wrap { .table-wrap {
--contacts-message-col-width: 104px; --contacts-message-col-width: 104px;
--contacts-media-col-width: 62px; --contacts-media-col-width: 62px;
--contacts-action-col-width: 236px; --contacts-action-col-width: 160px;
} }
.table-wrap .contacts-list-header { .table-wrap .contacts-list-header {

View File

@@ -5382,12 +5382,6 @@ function ExportPage() {
)} )}
<div className="row-action-cell"> <div className="row-action-cell">
<div className={`row-action-main ${hasRecentExport ? '' : 'single-line'}`.trim()}> <div className={`row-action-main ${hasRecentExport ? '' : 'single-line'}`.trim()}>
<button
className={`row-detail-btn ${showSessionDetailPanel && sessionDetail?.wxid === contact.username ? 'active' : ''}`}
onClick={() => openSessionDetail(contact.username)}
>
</button>
<div className={`row-export-action-stack ${hasRecentExport ? '' : 'single-line'}`.trim()}> <div className={`row-export-action-stack ${hasRecentExport ? '' : 'single-line'}`.trim()}>
<button <button
type="button" type="button"
@@ -5405,6 +5399,12 @@ function ExportPage() {
</button> </button>
{hasRecentExport && <span className="row-export-time">{recentExportTime}</span>} {hasRecentExport && <span className="row-export-time">{recentExportTime}</span>}
</div> </div>
<button
className={`row-detail-btn ${showSessionDetailPanel && sessionDetail?.wxid === contact.username ? 'active' : ''}`}
onClick={() => openSessionDetail(contact.username)}
>
</button>
</div> </div>
</div> </div>
</div> </div>