Skip to content

Commit

Permalink
update mobile search
Browse files Browse the repository at this point in the history
  • Loading branch information
NickJ202 committed Jan 12, 2024
1 parent 8eebc06 commit 6986dc2
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/components/molecules/Search/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -221,15 +221,16 @@ export const MSWrapper = styled.div`
`;

export const MSearchWrapper = styled(DSearchWrapper)`
height: 55px;
height: 65px;
width: 100%;
position: relative;
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px;
background: ${(props) => props.theme.colors.container.primary.background};
background: ${(props) => props.theme.colors.container.alt2.background};
border-bottom: 1px solid ${(props) => props.theme.colors.border.primary};
box-shadow: 0 5px 15px 2.5px ${(props) => props.theme.colors.shadow.primary};
`;

export const MCloseWrapper = styled.div`
Expand All @@ -255,11 +256,11 @@ export const MInput = styled(DInput)`
`;

export const MResultsWrapper = styled(DResultsWrapper)`
max-height: calc(100vh - 55px);
max-height: calc(100vh - 65px);
margin: 0;
background: ${(props) => props.theme.colors.container.primary.background};
border: none;
border-top: 1px solid ${(props) => props.theme.colors.border.primary};
border-bottom: 1px solid ${(props) => props.theme.colors.border.primary};
box-shadow: none;
border-radius: 0;
overflow: auto;
Expand Down

0 comments on commit 6986dc2

Please sign in to comment.