mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-15 15:45:27 +03:00
consistent button order and spacing
This commit is contained in:
parent
c842cf838c
commit
b3a4985abf
@ -414,17 +414,7 @@ export function DateRangePicker({
|
|||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
<div className="flex justify-center gap-2 py-2 pr-4">
|
<div className="mx-auto flex w-64 items-center justify-evenly gap-2 py-2">
|
||||||
<Button
|
|
||||||
onClick={() => {
|
|
||||||
setIsOpen(false);
|
|
||||||
resetValues();
|
|
||||||
onReset?.();
|
|
||||||
}}
|
|
||||||
variant="ghost"
|
|
||||||
>
|
|
||||||
Reset
|
|
||||||
</Button>
|
|
||||||
<Button
|
<Button
|
||||||
variant="select"
|
variant="select"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
@ -439,6 +429,16 @@ export function DateRangePicker({
|
|||||||
>
|
>
|
||||||
Apply
|
Apply
|
||||||
</Button>
|
</Button>
|
||||||
|
<Button
|
||||||
|
onClick={() => {
|
||||||
|
setIsOpen(false);
|
||||||
|
resetValues();
|
||||||
|
onReset?.();
|
||||||
|
}}
|
||||||
|
variant="ghost"
|
||||||
|
>
|
||||||
|
Reset
|
||||||
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user