feat: update styling
This commit is contained in:
parent
5742759780
commit
5ab455159c
@ -107,7 +107,7 @@ export const TradePanels = ({ market, pinnedAsset }: TradePanelsProps) => {
|
||||
);
|
||||
})}
|
||||
</div>
|
||||
<div className="h-[376px] sm:h-[460px] lg:h-full relative">
|
||||
<div className="h-[50vh] lg:h-full relative">
|
||||
<div>{renderMenu(topViewCfg)}</div>
|
||||
<div className="overflow-auto h-full">{renderView(topView)}</div>
|
||||
</div>
|
||||
|
@ -27,7 +27,7 @@ export const LayoutWithSidebar = ({
|
||||
<div className="col-span-full">{header}</div>
|
||||
<main
|
||||
className={classNames(
|
||||
'col-start-1 col-end-1 overflow-y-auto grow lg:grow-0',
|
||||
'col-start-1 col-end-1 overflow-hidden lg:overflow-y-auto grow lg:grow-0',
|
||||
{
|
||||
'lg:col-end-3': !sidebarOpen,
|
||||
'hidden lg:block lg:col-end-2': sidebarOpen,
|
||||
|
@ -29,7 +29,7 @@ export const MobileMarketHeader = () => {
|
||||
if (!marketId) return null;
|
||||
|
||||
return (
|
||||
<div className="p-2 flex justify-between gap-2 items-center h-10 pr-1 border-b border-default bg-vega-clight-700 dark:bg-vega-cdark-700">
|
||||
<div className="p-2 flex justify-between gap-2 items-center h-10 border-b border-default bg-vega-clight-700 dark:bg-vega-cdark-700">
|
||||
<FullScreenPopover
|
||||
open={openMarket}
|
||||
onOpenChange={(x) => {
|
||||
@ -42,7 +42,7 @@ export const MobileMarketHeader = () => {
|
||||
: t('Select market')}
|
||||
<span
|
||||
className={classNames(
|
||||
'transition-transform ease-in-out duration-300',
|
||||
'transition-transform ease-in-out duration-300 flex',
|
||||
{
|
||||
'rotate-180': openMarket,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user