mirror of
https://github.com/hicccc77/WeFlow.git
synced 2026-05-01 07:26:48 +00:00
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -11,8 +11,7 @@
|
|||||||
|
|
||||||
.export-date-range-dialog {
|
.export-date-range-dialog {
|
||||||
width: min(480px, calc(100vw - 32px));
|
width: min(480px, calc(100vw - 32px));
|
||||||
max-height: calc(100vh - 64px);
|
max-height: calc(100vh - 80px);
|
||||||
overflow-y: auto;
|
|
||||||
border-radius: 16px;
|
border-radius: 16px;
|
||||||
border: 1px solid var(--border-color);
|
border: 1px solid var(--border-color);
|
||||||
background: var(--bg-secondary-solid, var(--bg-primary));
|
background: var(--bg-secondary-solid, var(--bg-primary));
|
||||||
@@ -21,12 +20,14 @@
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 10px;
|
gap: 10px;
|
||||||
box-shadow: 0 22px 48px rgba(0, 0, 0, 0.16);
|
box-shadow: 0 22px 48px rgba(0, 0, 0, 0.16);
|
||||||
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.export-date-range-dialog-header {
|
.export-date-range-dialog-header {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
|
flex-shrink: 0;
|
||||||
|
|
||||||
h4 {
|
h4 {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
@@ -35,6 +36,26 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.export-date-range-dialog-content {
|
||||||
|
flex: 1 1 0;
|
||||||
|
min-height: 0;
|
||||||
|
overflow-y: auto;
|
||||||
|
overflow-x: hidden;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 10px;
|
||||||
|
padding-right: 2px;
|
||||||
|
|
||||||
|
&::-webkit-scrollbar {
|
||||||
|
width: 6px;
|
||||||
|
}
|
||||||
|
|
||||||
|
&::-webkit-scrollbar-thumb {
|
||||||
|
background: var(--border-color);
|
||||||
|
border-radius: 3px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.export-date-range-dialog-close-btn {
|
.export-date-range-dialog-close-btn {
|
||||||
border: 1px solid var(--border-color);
|
border: 1px solid var(--border-color);
|
||||||
background: var(--bg-secondary);
|
background: var(--bg-secondary);
|
||||||
@@ -439,6 +460,7 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
justify-content: flex-end;
|
justify-content: flex-end;
|
||||||
gap: 8px;
|
gap: 8px;
|
||||||
|
flex-shrink: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.export-date-range-dialog-btn {
|
.export-date-range-dialog-btn {
|
||||||
|
|||||||
@@ -565,6 +565,7 @@ export function ExportDateRangeDialog({
|
|||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div className="export-date-range-dialog-content">
|
||||||
<div className="export-date-range-preset-list">
|
<div className="export-date-range-preset-list">
|
||||||
{EXPORT_DATE_RANGE_PRESETS.map((preset) => {
|
{EXPORT_DATE_RANGE_PRESETS.map((preset) => {
|
||||||
const active = isPresetActive(preset.value)
|
const active = isPresetActive(preset.value)
|
||||||
@@ -728,6 +729,7 @@ export function ExportDateRangeDialog({
|
|||||||
})}
|
})}
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div className="export-date-range-dialog-actions">
|
<div className="export-date-range-dialog-actions">
|
||||||
<button type="button" className="export-date-range-dialog-btn secondary" onClick={onClose}>
|
<button type="button" className="export-date-range-dialog-btn secondary" onClick={onClose}>
|
||||||
|
|||||||
@@ -2015,6 +2015,7 @@
|
|||||||
box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
|
box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
|
||||||
width: 480px;
|
width: 480px;
|
||||||
max-width: 92vw;
|
max-width: 92vw;
|
||||||
|
max-height: calc(100vh - 80px);
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
border: 1px solid var(--border-color);
|
border: 1px solid var(--border-color);
|
||||||
@@ -2062,6 +2063,9 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 18px;
|
gap: 18px;
|
||||||
|
overflow-y: auto;
|
||||||
|
flex: 1;
|
||||||
|
min-height: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user