diff --git a/manifest.json b/manifest.json index 40f40d1..42a2abf 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "mediaviewer", "name": "Media Viewer", - "version": "2.1.12", + "version": "2.1.13", "minAppVersion": "1.8.7", "description": "Transform your notes with beautiful interactive media galleries. Seamlessly view, zoom, and manage images, videos, and audio files.", "author": "Devon22", diff --git a/package-lock.json b/package-lock.json index 4c29487..3a9dcd1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "mediaviewer", - "version": "2.1.12", + "version": "2.1.13", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "mediaviewer", - "version": "2.1.12", + "version": "2.1.13", "license": "MIT", "devDependencies": { "@types/node": "^16.11.6", diff --git a/package.json b/package.json index 7364a80..a29d1c4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mediaviewer", - "version": "2.1.12", + "version": "2.1.13", "description": "Transform your notes with beautiful interactive media galleries. Seamlessly view, zoom, and manage images, videos, and audio files.", "main": "main.js", "scripts": { diff --git a/src/galleryBlock.ts b/src/galleryBlock.ts index a5d6e71..1cf655e 100644 --- a/src/galleryBlock.ts +++ b/src/galleryBlock.ts @@ -1156,7 +1156,7 @@ export class GalleryBlock { notePreview.appendChild(noteIcon); } - const noteTitle = createEl('div', { cls: 'mvgb-note-title', text: item.title as string }); + const noteTitle = createEl('div', { cls: 'mvgb-note-title', text: this.getGalleryTitleText(item) }); if (item.isInternalLink && !item.file) { noteTitle.addClass('mvgb-invalid-link'); } diff --git a/styles.css b/styles.css index 9ebb66d..d96fa72 100644 --- a/styles.css +++ b/styles.css @@ -761,7 +761,7 @@ margin: auto; padding: 1px 7px; line-height: 1.4; - max-height: 2.8em; + max-height: 3em; } .mvgb-note-title.mvgb-invalid-link {