Skip to content

Commit

Permalink
[Issue-2598] Update UI for earning screens
Browse files Browse the repository at this point in the history
  • Loading branch information
lw committed Feb 7, 2024
1 parent 872cae5 commit b12c41a
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,10 @@ function Component ({ className, hasEarningPositions, setEntryView }: Props) {
}

const EarningOptions = styled(Component)<Props>(({ theme: { token } }: Props) => ({
'.ant-sw-sub-header-container': {
marginBottom: token.marginXS
},

'.__section-list-container': {
height: '100%',
flex: 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,10 @@ function Component ({ className, earningPositions, setEntryView, setLoading }: P
}

const EarningPositions = styled(Component)<Props>(({ theme: { token } }: Props) => ({
'.ant-sw-sub-header-container': {
marginBottom: token.marginXS
},

'.__section-list-container': {
height: '100%',
flex: 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,10 @@ const Wrapper = ({ className }: Props) => {
};

const EarningPools = styled(Wrapper)<Props>(({ theme: { token } }: Props) => ({
'.ant-sw-sub-header-container': {
marginBottom: token.marginXS
},

'.__section-list-container': {
height: '100%',
flex: 1
Expand Down

0 comments on commit b12c41a

Please sign in to comment.