Skip to content

Commit 06086f6

Browse files
committed
#188: change flush button to white and align with reset filter button
Signed-off-by: Ziqi He <[email protected]>
1 parent dff1d7d commit 06086f6

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

frontend/src/assets/styles/dashboard.scss

+4-2
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,13 @@
3737
position: relative;
3838

3939
.flush-cache-container {
40-
top: 0;
40+
top: -5px;
4141
right: 0;
4242
.flush-cache-button {
4343
border-radius: $primary-radius;
44-
background-color: $primary-blue;
44+
background-color: $primary-white;
45+
color: $primary-blue;
46+
// font-size: $font-small;
4547
}
4648
}
4749
}

frontend/src/components/buttons/FlushCacheButton.tsx

-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ const Alert = React.forwardRef<HTMLDivElement, AlertProps>(function Alert(
1313

1414
export default function FlushCacheButton() {
1515
const [open, setOpen] = React.useState(false)
16-
// const [loading, setLoading] = React.useState(false)
17-
// const [success, setSuccess] = React.useState(false)
1816
const [error, setError] = React.useState(false)
1917

2018
/**

0 commit comments

Comments
 (0)