mirror of
https://github.com/mztlive/dx-admin-template.git
synced 2025-12-22 21:59:59 +00:00
fix bug
This commit is contained in:
@@ -1468,10 +1468,25 @@
|
||||
}
|
||||
|
||||
.ui-date-range-preview {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.25rem;
|
||||
min-width: 0;
|
||||
flex: 1 1 auto;
|
||||
font-size: 0.85rem;
|
||||
color: hsl(var(--muted-foreground));
|
||||
}
|
||||
|
||||
.ui-date-range-footer {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-between;
|
||||
gap: 1rem;
|
||||
width: 100%;
|
||||
margin-top: 0.5rem;
|
||||
}
|
||||
|
||||
.ui-date-range-shortcuts {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
@@ -1483,8 +1498,8 @@
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
gap: 0.5rem;
|
||||
width: 100%;
|
||||
margin-top: 0.5rem;
|
||||
flex-shrink: 0;
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
.ui-date-range-shortcut,
|
||||
|
||||
@@ -282,13 +282,6 @@ pub fn DateRangePicker(
|
||||
"本月"
|
||||
}
|
||||
}
|
||||
div {
|
||||
class: "ui-date-range-preview",
|
||||
span { class: "ui-date-range-preview-primary", "{preview_primary_text}" }
|
||||
for text in preview_secondary_text.iter() {
|
||||
span { class: "ui-date-range-preview-secondary", "{text}" }
|
||||
}
|
||||
}
|
||||
div {
|
||||
class: "ui-date-range-calendars",
|
||||
for offset in 0..2 {
|
||||
@@ -371,6 +364,15 @@ pub fn DateRangePicker(
|
||||
}
|
||||
}
|
||||
}
|
||||
div {
|
||||
class: "ui-date-range-footer",
|
||||
div {
|
||||
class: "ui-date-range-preview",
|
||||
span { class: "ui-date-range-preview-primary", "{preview_primary_text}" }
|
||||
for text in preview_secondary_text.iter() {
|
||||
span { class: "ui-date-range-preview-secondary", "{text}" }
|
||||
}
|
||||
}
|
||||
div {
|
||||
class: "ui-date-range-controls",
|
||||
Button {
|
||||
@@ -417,4 +419,5 @@ pub fn DateRangePicker(
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user