mirror of
https://github.com/mztlive/dx-admin-template.git
synced 2026-01-04 03:52:57 +00:00
fix bug
This commit is contained in:
@@ -1468,10 +1468,25 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.ui-date-range-preview {
|
.ui-date-range-preview {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 0.25rem;
|
||||||
|
min-width: 0;
|
||||||
|
flex: 1 1 auto;
|
||||||
font-size: 0.85rem;
|
font-size: 0.85rem;
|
||||||
color: hsl(var(--muted-foreground));
|
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 {
|
.ui-date-range-shortcuts {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
@@ -1483,8 +1498,8 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
justify-content: flex-end;
|
justify-content: flex-end;
|
||||||
gap: 0.5rem;
|
gap: 0.5rem;
|
||||||
width: 100%;
|
flex-shrink: 0;
|
||||||
margin-top: 0.5rem;
|
margin-left: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ui-date-range-shortcut,
|
.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 {
|
div {
|
||||||
class: "ui-date-range-calendars",
|
class: "ui-date-range-calendars",
|
||||||
for offset in 0..2 {
|
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 {
|
div {
|
||||||
class: "ui-date-range-controls",
|
class: "ui-date-range-controls",
|
||||||
Button {
|
Button {
|
||||||
@@ -417,4 +419,5 @@ pub fn DateRangePicker(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user