fix: asset dialog overflow (2488) (#2497)
This commit is contained in:
parent
6f95989569
commit
cc3c339cc3
@ -213,7 +213,7 @@ export const AssetDetailsTable = ({
|
|||||||
}: AssetDetailsTableProps) => {
|
}: AssetDetailsTableProps) => {
|
||||||
const longStringModifiers = (key: AssetDetail, value: string) =>
|
const longStringModifiers = (key: AssetDetail, value: string) =>
|
||||||
(value && key === AssetDetail.CONTRACT_ADDRESS) || key === AssetDetail.ID
|
(value && key === AssetDetail.CONTRACT_ADDRESS) || key === AssetDetail.ID
|
||||||
? { className: 'truncate', title: value }
|
? { className: 'break-all', title: value }
|
||||||
: {};
|
: {};
|
||||||
|
|
||||||
const details = rows.map((r) => ({
|
const details = rows.map((r) => ({
|
||||||
|
@ -34,7 +34,7 @@ export function Dialog({
|
|||||||
);
|
);
|
||||||
const wrapperClasses = classNames(
|
const wrapperClasses = classNames(
|
||||||
// Positions the modal in the center of screen
|
// Positions the modal in the center of screen
|
||||||
'z-20 relative rounded top-[10vh] max-w-[90vw]',
|
'z-20 relative rounded top-[10vh]',
|
||||||
// Dimensions
|
// Dimensions
|
||||||
'max-w-[90vw] p-4 md:p-8',
|
'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
|
||||||
|
Loading…
Reference in New Issue
Block a user