Browse Source

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

Book Pauk 2 years ago
parent
commit
d201961046
2 changed files with 6 additions and 1 deletions
  1. 4 0
      client/components/App.vue
  2. 2 1
      client/components/share/Notify.vue

+ 4 - 0
client/components/App.vue

@@ -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;
 }
 }

+ 2 - 1
client/components/share/Notify.vue

@@ -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>`