mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-23 08:58:26 +00:00
alert msg in different line when there is no space in the msg (#4636)
This commit is contained in:
parent
55dc8afcf6
commit
89c6663265
1 changed files with 6 additions and 1 deletions
|
|
@ -72,7 +72,11 @@ class App extends React.Component {
|
|||
|
||||
render() {
|
||||
const { updateAvailable, onboarded, darkMode } = this.state;
|
||||
let toastOptions = {};
|
||||
let toastOptions = {
|
||||
style: {
|
||||
'word-break': 'break-all',
|
||||
},
|
||||
};
|
||||
|
||||
if (darkMode) {
|
||||
toastOptions = {
|
||||
|
|
@ -81,6 +85,7 @@ class App extends React.Component {
|
|||
borderRadius: '10px',
|
||||
background: '#333',
|
||||
color: '#fff',
|
||||
'word-break': 'break-all',
|
||||
},
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue