mirror of
https://github.com/hicccc77/WeFlow.git
synced 2026-03-25 15:25:50 +00:00
fix(export): center single export action text
This commit is contained in:
@@ -1806,6 +1806,10 @@
|
||||
display: inline-flex;
|
||||
align-items: flex-start;
|
||||
gap: 6px;
|
||||
|
||||
&.single-line {
|
||||
align-items: center;
|
||||
}
|
||||
}
|
||||
|
||||
.row-detail-btn {
|
||||
@@ -1837,6 +1841,11 @@
|
||||
align-items: center;
|
||||
gap: 2px;
|
||||
min-width: 84px;
|
||||
|
||||
&.single-line {
|
||||
min-height: 28px;
|
||||
justify-content: center;
|
||||
}
|
||||
}
|
||||
|
||||
.row-export-link {
|
||||
|
||||
@@ -5376,14 +5376,14 @@ function ExportPage() {
|
||||
</div>
|
||||
)}
|
||||
<div className="row-action-cell">
|
||||
<div className="row-action-main">
|
||||
<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">
|
||||
<div className={`row-export-action-stack ${hasRecentExport ? '' : 'single-line'}`.trim()}>
|
||||
<button
|
||||
type="button"
|
||||
className={`row-export-link ${isRunning ? 'state-running' : ''} ${!canExport ? 'state-disabled' : ''}`}
|
||||
|
||||
Reference in New Issue
Block a user