mirror of
https://github.com/hicccc77/WeFlow.git
synced 2026-03-25 07:16:51 +00:00
fix(export): stretch format trigger
This commit is contained in:
@@ -2877,6 +2877,17 @@
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
.dialog-format-trigger {
|
||||
width: 100%;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.dialog-format-trigger-label {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.dialog-format-dropdown {
|
||||
position: absolute;
|
||||
top: calc(100% + 6px);
|
||||
|
||||
@@ -6091,10 +6091,10 @@ function ExportPage() {
|
||||
<div className="dialog-format-select" ref={sessionFormatDropdownRef}>
|
||||
<button
|
||||
type="button"
|
||||
className={`time-range-trigger ${showSessionFormatSelect ? 'open' : ''}`}
|
||||
className={`time-range-trigger dialog-format-trigger ${showSessionFormatSelect ? 'open' : ''}`}
|
||||
onClick={() => setShowSessionFormatSelect(prev => !prev)}
|
||||
>
|
||||
<span>{activeDialogFormatLabel}</span>
|
||||
<span className="dialog-format-trigger-label">{activeDialogFormatLabel}</span>
|
||||
<span className="time-range-arrow">></span>
|
||||
</button>
|
||||
{showSessionFormatSelect && (
|
||||
|
||||
Reference in New Issue
Block a user