Skip to content

Commit

Permalink
Fix button gap for extension and web
Browse files Browse the repository at this point in the history
  • Loading branch information
KuznetsovNikita committed Mar 26, 2024
1 parent edd3a82 commit 3b7011f
Showing 1 changed file with 8 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
getAccountsMap,
sendTonConnectTransfer
} from '@tonkeeper/core/dist/service/transfer/tonService';
import React, { FC, useCallback, useEffect, useState } from 'react';
import { FC, useCallback, useEffect, useState } from 'react';
import styled, { css } from 'styled-components';
import { useAppContext, useWalletContext } from '../../hooks/appContext';
import { useAppSdk } from '../../hooks/appSdk';
Expand All @@ -27,13 +27,14 @@ import { ResultButton } from '../transfer/common';
import { EmulationList } from './EstimationLayout';

const ButtonGap = styled.div`
height: 56px;
${props =>
props.theme.displayType === 'full-width' &&
css`
height: 1rem;
`}
props.theme.displayType === 'full-width'
? css`
height: 1rem;
`
: css`
display: none;
`}
`;

const ButtonRowStyled = styled.div`
Expand Down

0 comments on commit 3b7011f

Please sign in to comment.