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

Commit

Permalink
Merge pull request #1038 from gnosis/master
Browse files Browse the repository at this point in the history
Update develop branch with release/v2.6.0
  • Loading branch information
alfetopito authored Feb 8, 2022
2 parents e9a4e31 + 8a04e29 commit 3a8378a
Show file tree
Hide file tree
Showing 9 changed files with 24 additions and 13 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@gnosis.pm/gp-v1",
"version": "2.6.0-rc.0",
"version": "2.6.0",
"description": "",
"main": "src/index.js",
"sideEffects": false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const tabItems = (isLoadingOrders: boolean): TabItemInterface[] => {
id: 1,
tab: (
<>
Transactions
Orders
<StyledTabLoader>{isLoadingOrders && <Spinner spin size="1x" />}</StyledTabLoader>
</>
),
Expand Down
5 changes: 5 additions & 0 deletions src/apps/explorer/layout/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,11 @@ export const Header: React.FC = () => {
Community
</ExternalLink>
</li>
<li>
<ExternalLink target={'_blank'} href={'https://dune.xyz/gnosis.protocol/Gnosis-Protocol-V2'}>
Analytics
</ExternalLink>
</li>
</Navigation>
</FlexWrap>
</GenericHeader>
Expand Down
8 changes: 2 additions & 6 deletions src/apps/explorer/styled.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import styled from 'styled-components'
import styled, { createGlobalStyle } from 'styled-components'
import { media } from 'theme/styles/media'
import { createGlobalStyle } from 'styled-components'

export const GlobalStyle = createGlobalStyle`
html {
Expand Down Expand Up @@ -46,10 +45,7 @@ export const MainWrapper = styled.div`
${media.xSmallDown} {
max-width: 100%;
flex-grow: 1;
header {
margin-left: auto;
margin-right: auto;
}
footer {
flex-direction: column;
flex-wrap: nowrap;
Expand Down
8 changes: 6 additions & 2 deletions src/components/NetworkSelector/NetworkSelector.styled.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import styled from 'styled-components'
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
import { COLOURS } from 'styles'
import { media } from 'theme/styles/media'

const { fadedGreyishWhiteOpacity, white, gnosisChainColor } = COLOURS

Expand All @@ -21,6 +22,9 @@ export const SelectorContainer = styled.div`
transition: transform 0.1s linear;
}
}
${media.xSmallDown} {
padding-right: 2rem;
}
`

export const OptionsContainer = styled.div<{ width: number }>`
Expand Down Expand Up @@ -98,8 +102,8 @@ export const NetworkLabel = styled.span`
}
&.gnosischain {
background: ${(): string => `rgb(4 121 91 / 15%);`};
color: ${(): string => gnosisChainColor};
background: ${(): string => `rgba(7,121,91,1.00);`};
color: ${(): string => white};
}
`

Expand Down
6 changes: 6 additions & 0 deletions src/components/layout/GenericLayout/Header/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,12 @@ const Logo = styled(Link)`
justify-content: center;
color: ${({ theme }): string => theme.textPrimary1};
}
${media.xSmallDown} {
> img {
max-width: 11.5rem;
}
}
`

type Props = PropsWithChildren<{
Expand Down
2 changes: 1 addition & 1 deletion src/components/orders/OrdersUserDetailsTable/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ const RowOrder: React.FC<RowProps> = ({ order, isPriceInverted }) => {
className="span-copybtn-wrap"
textToCopy={uid}
contentsToDisplay={
<LinkWithPrefixNetwork to={`/orders/${order.uid}`} rel="noopener noreferrer" target="_blank">
<LinkWithPrefixNetwork to={`/orders/${order.uid}`} rel="noopener noreferrer" target="_self">
{shortId}
</LinkWithPrefixNetwork>
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/transaction/TransactionTable/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ const RowTransaction: React.FC<RowProps> = ({ order, isPriceInverted, invertLimi
className="span-copybtn-wrap"
textToCopy={uid}
contentsToDisplay={
<LinkWithPrefixNetwork to={`/orders/${order.uid}`} rel="noopener noreferrer" target="_blank">
<LinkWithPrefixNetwork to={`/orders/${order.uid}`} rel="noopener noreferrer" target="_self">
{getShortOrderId(shortId)}
</LinkWithPrefixNetwork>
}
Expand Down
2 changes: 1 addition & 1 deletion src/styles/colours.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ export const COLOURS = {
whiteDark: '#e9e9f0',
blue: '#3F77FF',
blueDark: '#185afb',
gnosisChainColor: '#04795b',
gnosisChainColor: '#07795b',
purple: '#8958FF',
bgLight: '#edf2f7',
bgDark: 'linear-gradient(0deg, #21222E 0.05%, #2C2D3F 100%)',
Expand Down

0 comments on commit 3a8378a

Please sign in to comment.