Quellcode durchsuchen

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

Book Pauk vor 2 Jahren
Ursprung
Commit
d201961046
2 geänderte Dateien mit 6 neuen und 1 gelöschten Zeilen
  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;
 }
 
+.notify-margin {
+    margin-top: 55px;
+}
+
 .dborder {
     border: 2px solid magenta !important;
 }

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

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