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;
|
display: inline-flex;
|
||||||
align-items: flex-start;
|
align-items: flex-start;
|
||||||
gap: 6px;
|
gap: 6px;
|
||||||
|
|
||||||
|
&.single-line {
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.row-detail-btn {
|
.row-detail-btn {
|
||||||
@@ -1837,6 +1841,11 @@
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 2px;
|
gap: 2px;
|
||||||
min-width: 84px;
|
min-width: 84px;
|
||||||
|
|
||||||
|
&.single-line {
|
||||||
|
min-height: 28px;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.row-export-link {
|
.row-export-link {
|
||||||
|
|||||||
@@ -5376,14 +5376,14 @@ function ExportPage() {
|
|||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
<div className="row-action-cell">
|
<div className="row-action-cell">
|
||||||
<div className="row-action-main">
|
<div className={`row-action-main ${hasRecentExport ? '' : 'single-line'}`.trim()}>
|
||||||
<button
|
<button
|
||||||
className={`row-detail-btn ${showSessionDetailPanel && sessionDetail?.wxid === contact.username ? 'active' : ''}`}
|
className={`row-detail-btn ${showSessionDetailPanel && sessionDetail?.wxid === contact.username ? 'active' : ''}`}
|
||||||
onClick={() => openSessionDetail(contact.username)}
|
onClick={() => openSessionDetail(contact.username)}
|
||||||
>
|
>
|
||||||
详情
|
详情
|
||||||
</button>
|
</button>
|
||||||
<div className="row-export-action-stack">
|
<div className={`row-export-action-stack ${hasRecentExport ? '' : 'single-line'}`.trim()}>
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
className={`row-export-link ${isRunning ? 'state-running' : ''} ${!canExport ? 'state-disabled' : ''}`}
|
className={`row-export-link ${isRunning ? 'state-running' : ''} ${!canExport ? 'state-disabled' : ''}`}
|
||||||
|
|||||||
Reference in New Issue
Block a user