Browse Source

Небольшие поправки

Book Pauk 2 năm trước cách đây
mục cha
commit
8da71a98da

+ 6 - 3
client/components/ExternalLibs/ExternalLibs.vue

@@ -717,10 +717,13 @@ class ExternalLibs {
             this.editBookmarkDesc = this.bookmarkDesc = desc;
         } else {
             this.bookmarkLink = this.bookUrl;
-            if (!this.bookmarkLink && this.inpxReady && this.inpxUrl)
-                this.bookmarkLink = this.inpxUrl;
-
             this.bookmarkDesc = '';
+
+            if (!this.bookmarkLink && this.inpxReady && this.inpxUrl) {
+                this.bookmarkLink = this.inpxUrl;
+                if (this.inpxTitle)
+                    this.bookmarkDesc = this.inpxTitle;
+            }
         }
 
         this.addBookmarkMode = mode;

+ 3 - 1
client/components/share/Window.vue

@@ -10,7 +10,9 @@
                     @touchend.stop="onTouchEnd"
                     @touchmove.stop="onTouchMove"
                 >
-                    <span class="header-text col"><slot name="header"></slot></span>
+                    <div class="header-text col" style="width: 0">
+                        <slot name="header"></slot>
+                    </div>
                     <slot name="buttons"></slot>
                     <span class="close-button row justify-center items-center" @mousedown.stop @click="close"><q-icon name="la la-times" size="16px" /></span>
                 </div>