Skip to content

Commit 134700b

Browse files
authored
fix preview modal title (#2406)
Issue: Long title is causing preview modal to scroll horizontally and the close button is hidden. post fix: ![image](https://user-images.githubusercontent.com/23444145/197127950-d6358a43-d795-461b-94da-0d698e987d98.png)
1 parent 483d25c commit 134700b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

portal-ui/src/screens/Console/Common/FormComponents/common/styleLibrary.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1257,7 +1257,7 @@ export const fileInputStyles = {
12571257
},
12581258
};
12591259

1260-
export const deleteDialogStyles = {
1260+
export const deleteDialogStyles: any = {
12611261
root: {
12621262
"& .MuiPaper-root": {
12631263
padding: "1rem 2rem 2rem 1rem",
@@ -1276,6 +1276,8 @@ export const deleteDialogStyles = {
12761276
"& svg": {
12771277
marginRight: 10,
12781278
},
1279+
wordBreak: "break-all",
1280+
whiteSpace: "normal",
12791281
},
12801282
closeContainer: {
12811283
"& .MuiIconButton-root": {

0 commit comments

Comments
 (0)