Skip to content
This repository was archived by the owner on Apr 4, 2022. It is now read-only.

Commit

Permalink
"Search not found" responsive page (#1037)
Browse files Browse the repository at this point in the history
  • Loading branch information
alongoni authored Feb 9, 2022
1 parent 3a8378a commit e7e5b97
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions src/apps/explorer/pages/Home/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import React from 'react'
import { Search } from 'apps/explorer/components/common/Search'
import { Wrapper as WrapperMod } from 'apps/explorer/pages/styled'
import styled from 'styled-components'
import { media } from 'theme/styles/media'

const Wrapper = styled(WrapperMod)`
max-width: 140rem;
Expand All @@ -15,6 +16,10 @@ const Wrapper = styled(WrapperMod)`
margin: 0 0 2.4rem;
font-size: 2.4rem;
line-height: 1;
${media.xSmallDown} {
font-size: 1.7rem;
}
}
`

Expand Down
8 changes: 4 additions & 4 deletions src/components/orders/OrderNotFound/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const Content = styled.div`
p {
line-height: ${({ theme }): string => theme.fontLineHeight};
overflow-wrap: break-word;
word-break: break-word;
}
strong {
Expand All @@ -40,9 +40,9 @@ const SearchContent = styled.div`
align-items: center;
gap: 2.5rem;
@media ${MEDIA.mobile} {
@media ${MEDIA.mediumDown} {
flex-flow: column wrap;
gap: 0;
gap: 1.5rem;
form {
width: 100%;
Expand Down Expand Up @@ -110,7 +110,7 @@ export const OrderAddressNotFound: React.FC = (): JSX.Element => {
<SearchSection>
<SearchContent>
<Search searchString={wasRedirected ? '' : searchString} submitSearchImmediatly={!wasRedirected} />
<p>or</p>
<span>or</span>
<Support href="https://chat.cowswap.exchange/" target="_blank" rel="noopener noreferrer">
Get Support
<img src={SupportIcon} />
Expand Down

0 comments on commit e7e5b97

Please sign in to comment.