Skip to content

Commit

Permalink
fix: row padding on small screens
Browse files Browse the repository at this point in the history
  • Loading branch information
crnbarr93 committed Aug 12, 2024
1 parent 6ecbd1e commit b7635bd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/web/components/complex/orders-history/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ const TableOrderRow = memo(
style={style}
className={classNames(
gridClasses,
"xl:-mx-4 xl:items-center xl:overflow-visible xl:px-4 xl:hover:cursor-pointer xl:hover:bg-osmoverse-900"
"xl:-mx-4 xl:items-center xl:overflow-visible xl:px-4 xl:hover:cursor-pointer xl:hover:bg-osmoverse-900 sm:[&>td]:!py-0"
)}
onClick={() => onOrderSelect(order)}
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export const OrderModal = memo(({ order, onRequestClose }: OrderModalProps) => {
<ModalBase
isOpen={!!order}
onRequestClose={onRequestClose}
className="xl:!p-0 sm:h-full sm:min-h-[100vh] sm:!rounded-none"
className="xl:!px-0 xl:!pb-0 xl:!pt-2 sm:h-full sm:min-h-[100vh] sm:!rounded-none"
>
<OrderDetails
order={order}
Expand Down Expand Up @@ -189,7 +189,7 @@ const OrderDetails = observer(
return (
<div
className={classNames(
"top-[4.5rem] flex w-full flex-col overflow-y-auto border-osmoverse-700 bg-osmoverse-900 xl:!py-8 xl:!px-8 sm:top-0 sm:h-full sm:!h-full sm:rounded-none sm:bg-osmoverse-850"
"top-[4.5rem] flex w-full flex-col overflow-y-auto border-osmoverse-700 bg-osmoverse-900 xl:!py-6 xl:!px-8 sm:top-0 sm:h-full sm:!h-full sm:rounded-none sm:bg-osmoverse-850"
)}
>
{!isModal && (
Expand Down

0 comments on commit b7635bd

Please sign in to comment.