Skip to content

Commit

Permalink
#188: change flush button to white and align with reset filter button
Browse files Browse the repository at this point in the history
Signed-off-by: Ziqi He <[email protected]>
  • Loading branch information
iheziqi committed Jul 6, 2023
1 parent dff1d7d commit 06086f6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 4 additions & 2 deletions frontend/src/assets/styles/dashboard.scss
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,13 @@
position: relative;

.flush-cache-container {
top: 0;
top: -5px;
right: 0;
.flush-cache-button {
border-radius: $primary-radius;
background-color: $primary-blue;
background-color: $primary-white;
color: $primary-blue;
// font-size: $font-small;
}
}
}
Expand Down
2 changes: 0 additions & 2 deletions frontend/src/components/buttons/FlushCacheButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ const Alert = React.forwardRef<HTMLDivElement, AlertProps>(function Alert(

export default function FlushCacheButton() {
const [open, setOpen] = React.useState(false)
// const [loading, setLoading] = React.useState(false)
// const [success, setSuccess] = React.useState(false)
const [error, setError] = React.useState(false)

/**
Expand Down

0 comments on commit 06086f6

Please sign in to comment.