fix(790): gap between orderbook headers and tabs (#929)

This commit is contained in:
asiaznik 2022-08-01 16:49:31 +02:00 committed by GitHub
parent 76b3cdb312
commit 92febfde6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -282,13 +282,13 @@ export const Orderbook = ({
const hasData = renderedRows.data && renderedRows.data.length !== 0;
return (
<div
className={`h-full overflow-auto relative ${styles['scroll']} pl-4 pt-4`}
className={`h-full overflow-auto relative ${styles['scroll']} pl-4`}
onScroll={onScroll}
ref={scrollElement}
data-testid="scroll"
>
<div
className="sticky top-0 grid grid-cols-4 gap-5 text-right border-b-1 text-ui-small mb-2 pb-2 bg-white dark:bg-black z-10"
className="sticky top-0 grid grid-cols-4 gap-5 text-right border-b-1 text-ui-small mb-2 pt-4 pb-2 bg-white dark:bg-black z-10"
style={{ gridAutoRows: '17px' }}
>
<div>{t('Bid Vol')}</div>