Поправка положения notify-сообщений

This commit is contained in:
Book Pauk
2022-09-04 21:42:50 +07:00
parent 614a7f9da7
commit d201961046
2 changed files with 6 additions and 1 deletions

View File

@@ -271,6 +271,10 @@ body, html, #app {
font: normal 12pt ReaderDefault; font: normal 12pt ReaderDefault;
} }
.notify-margin {
margin-top: 55px;
}
.dborder { .dborder {
border: 2px solid magenta !important; border: 2px solid magenta !important;
} }

View File

@@ -27,9 +27,10 @@ class Notify {
icon, icon,
actions: [{icon: 'la la-times notify-button-icon', color: 'black'}], actions: [{icon: 'la la-times notify-button-icon', color: 'black'}],
html: true, html: true,
classes: 'notify-margin',
message: message:
`<div style="max-width: 350px;"> `<div style="max-width: 350px">
${caption} ${caption}
<div style="color: ${messageColor}; overflow-wrap: break-word; word-wrap: break-word;">${message}</div> <div style="color: ${messageColor}; overflow-wrap: break-word; word-wrap: break-word;">${message}</div>
</div>` </div>`