Compare commits

...
Author SHA1 Message Date
Madalina Raicu 18f8d5e648 fix(trading): adjust full screen for mobile dialogs 2024-01-24 17:20:40 +00:00
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ const BreakdownTable = forwardRef<AgGridReact, BreakdownTableProps>(
{ {
headerName: t('Market'), headerName: t('Market'),
field: 'market.tradableInstrument.instrument.code', field: 'market.tradableInstrument.instrument.code',
width: 90, maxWidth: 150,
pinned: true, pinned: true,
sort: 'desc', sort: 'desc',
cellRenderer: ({ cellRenderer: ({
@@ -38,14 +38,14 @@ export function Dialog({
); );
const wrapperClasses = classNames( const wrapperClasses = classNames(
// Dimensions // Dimensions
'max-w-[90vw] p-4 md:p-8', 'w-screen sm:max-w-[90vw] p-4 md:p-8',
// Need to apply background and text colors again as content is rendered in a portal // Need to apply background and text colors again as content is rendered in a portal
'dark:bg-black bg-white dark:text-white', 'dark:bg-black bg-white dark:text-white',
getIntentBorder(intent), getIntentBorder(intent),
{ {
'w-[520px]': size === 'small', 'sm:w-[520px]': size === 'small',
'w-[680px]': size === 'medium', 'sm:w-[680px]': size === 'medium',
'w-[720px] lg:w-[940px]': size === 'large', 'sm:w-[720px] lg:w-[940px]': size === 'large',
} }
); );