fix: text color of no data message, add connect buttons to trade grid user section (#2246)

This commit is contained in:
Matthew Russell 2022-11-29 01:45:35 -06:00 committed by GitHub
parent 02410df2d7
commit 995f1f1eaf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 5 deletions

View File

@ -37,6 +37,7 @@ import { MarketMarkPrice } from '../../components/market-mark-price';
import { MarketTradingModeComponent } from '../../components/market-trading-mode'; import { MarketTradingModeComponent } from '../../components/market-trading-mode';
import { Last24hVolume } from '../../components/last-24h-volume'; import { Last24hVolume } from '../../components/last-24h-volume';
import { MarketProposalNotification } from '@vegaprotocol/governance'; import { MarketProposalNotification } from '@vegaprotocol/governance';
import { VegaWalletContainer } from '../../components/vega-wallet-container';
const NO_MARKET = t('No market'); const NO_MARKET = t('No market');
@ -261,16 +262,24 @@ const MainGrid = ({
<TradeGridChild> <TradeGridChild>
<Tabs> <Tabs>
<Tab id="positions" name={t('Positions')}> <Tab id="positions" name={t('Positions')}>
<VegaWalletContainer>
<TradingViews.Positions /> <TradingViews.Positions />
</VegaWalletContainer>
</Tab> </Tab>
<Tab id="orders" name={t('Orders')}> <Tab id="orders" name={t('Orders')}>
<VegaWalletContainer>
<TradingViews.Orders /> <TradingViews.Orders />
</VegaWalletContainer>
</Tab> </Tab>
<Tab id="fills" name={t('Fills')}> <Tab id="fills" name={t('Fills')}>
<VegaWalletContainer>
<TradingViews.Fills /> <TradingViews.Fills />
</VegaWalletContainer>
</Tab> </Tab>
<Tab id="accounts" name={t('Collateral')}> <Tab id="accounts" name={t('Collateral')}>
<VegaWalletContainer>
<TradingViews.Collateral /> <TradingViews.Collateral />
</VegaWalletContainer>
</Tab> </Tab>
</Tabs> </Tabs>
</TradeGridChild> </TradeGridChild>

View File

@ -7,7 +7,7 @@ export interface SplashProps {
export const Splash = ({ children }: SplashProps) => { export const Splash = ({ children }: SplashProps) => {
const splashClasses = classNames( const splashClasses = classNames(
'w-full h-full text-xs text-center text-gray-200', 'w-full h-full text-xs text-center text-gray-800 dark:text-gray-200',
'flex items-center justify-center' 'flex items-center justify-center'
); );
return <div className={splashClasses}>{children}</div>; return <div className={splashClasses}>{children}</div>;