Skip to content

Commit 203001a

Browse files
committed
fix: popup text element could go out of bounds
1 parent b33377a commit 203001a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/safe/src/lib/components/ui/map/map-popup/map-popup.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ export class SafeMapPopupService {
258258
const sanitizedHtml = element.text?.replace(scriptRegex, '') ?? '';
259259
template =
260260
template +
261-
`<div class="m-2 rounded-md border-gray-200 border shadow-md px-1">${sanitizedHtml}</div>`;
261+
`<div class="m-2 break-all rounded-md border-gray-200 border shadow-md px-1">${sanitizedHtml}</div>`;
262262
}
263263
}
264264
});

0 commit comments

Comments
 (0)