Skip to content

Commit

Permalink
feat: readded table header on small screens
Browse files Browse the repository at this point in the history
  • Loading branch information
crnbarr93 committed Aug 12, 2024
1 parent b7635bd commit a1ce2a8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/web/components/complex/orders-history/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ export const OrderHistory = observer(() => {
paddingEnd: 110,
overscan: 10,
scrollMargin: listRef.current?.offsetTop ?? 0,
paddingStart: isMediumScreen ? 0 : 45,
paddingStart: 45,
});

const { claimAllOrders, count: filledOrdersCount } =
Expand Down Expand Up @@ -216,7 +216,7 @@ export const OrderHistory = observer(() => {
ref={listRef}
>
{!isLoading && (
<thead className="border-b border-osmoverse-700 bg-osmoverse-1000 md:hidden">
<thead className="border-b border-osmoverse-700 bg-osmoverse-1000">
<tr
className={classNames(
{
Expand Down Expand Up @@ -246,7 +246,7 @@ export const OrderHistory = observer(() => {
</thead>
)}
<tbody
className="min-h-[200px] bg-transparent xl:overflow-visible"
className="bg-transparent xl:overflow-visible"
style={{ height: `${rowVirtualizer.getTotalSize()}px` }}
>
{isLoading ? (
Expand Down

0 comments on commit a1ce2a8

Please sign in to comment.