Fix pipeline bug on scroll (#666)

* Fix pipeline bug on scroll

* Fix lint

* Fix lint
This commit is contained in:
Charles Bochet
2023-07-15 11:00:32 -07:00
committed by GitHub
parent efd4ed16d6
commit 2bbcf6980a
8 changed files with 29 additions and 27 deletions

View File

@ -5,7 +5,6 @@ export const StyledBoard = styled.div`
border-radius: ${({ theme }) => theme.spacing(2)};
display: flex;
flex-direction: row;
height: calc(100%);
overflow-x: auto;
width: 100%;
`;

View File

@ -13,7 +13,6 @@ const StyledButton = styled.button`
cursor: pointer;
display: flex;
gap: ${({ theme }) => theme.spacing(1)};
justify-content: center;
padding: ${({ theme }) => theme.spacing(1)};
&:hover {

View File

@ -1,8 +1,9 @@
import styled from '@emotion/styled';
export const DropdownMenu = styled.div`
export const DropdownMenu = styled.div<{ disableBlur?: boolean }>`
align-items: center;
backdrop-filter: blur(20px);
backdrop-filter: ${({ disableBlur }) =>
disableBlur ? 'none' : 'blur(20px)'};
background: ${({ theme }) => theme.background.transparent.secondary};
border: 1px solid ${({ theme }) => theme.border.color.light};
@ -14,7 +15,5 @@ export const DropdownMenu = styled.div`
flex-direction: column;
height: fit-content;
width: 200px;
`;