From 5711823339b53039c80b55b33f633319648748d9 Mon Sep 17 00:00:00 2001 From: zeroinformatique Date: Sat, 17 Oct 2020 22:47:46 +0200 Subject: viewer: fixed the back button which was not working properly anymore (#271) github: resolves #270--- viewer/src/components/LdCommand.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'viewer/src/components') diff --git a/viewer/src/components/LdCommand.vue b/viewer/src/components/LdCommand.vue index 6059162..2578055 100644 --- a/viewer/src/components/LdCommand.vue +++ b/viewer/src/components/LdCommand.vue @@ -25,10 +25,10 @@ @@ -55,7 +55,7 @@ export default class LdCommand extends Vue { return this.currentItemPath.length <= 1 && !this.$uiStore.searchMode; } - get isEntryPoint(): boolean { + isEntryPoint(): boolean { return history.state?.ldgallery === "ENTRYPOINT"; // Set by MainLayout.vue } -- cgit v1.2.3 From 7f2231d86bb72c83f50693ec96526e7d9f47dfb8 Mon Sep 17 00:00:00 2001 From: zeroinformatique Date: Sun, 18 Oct 2020 01:12:07 +0200 Subject: viewer: fix sort order button hitbox (#272) * viewer: fix sort order button hitbox github: resolves #266 * viewer: fix sort order button hover color That was a conflict between the tag's color and the .link color. I enforced .link priority over * viewer: fix sort order button hover color TODO comment about Buefy issues--- viewer/src/components/LdCommand.vue | 2 +- viewer/src/components/LdCommandSort.vue | 9 +++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) (limited to 'viewer/src/components') diff --git a/viewer/src/components/LdCommand.vue b/viewer/src/components/LdCommand.vue index 2578055..5ba8266 100644 --- a/viewer/src/components/LdCommand.vue +++ b/viewer/src/components/LdCommand.vue @@ -78,7 +78,7 @@ export default class LdCommand extends Vue { align-items: center; flex: 0 0 $layout-left; - > a { + > * { // normalise icon active boxes width: $layout-top; line-height: $layout-top; diff --git a/viewer/src/components/LdCommandSort.vue b/viewer/src/components/LdCommandSort.vue index cfaa5c1..4c246e6 100644 --- a/viewer/src/components/LdCommandSort.vue +++ b/viewer/src/components/LdCommandSort.vue @@ -19,8 +19,9 @@ --> - - diff --git a/viewer/src/components/item_handlers/LdDirectoryViewer.vue b/viewer/src/components/item_handlers/LdDirectoryViewer.vue new file mode 100644 index 0000000..7440f54 --- /dev/null +++ b/viewer/src/components/item_handlers/LdDirectoryViewer.vue @@ -0,0 +1,43 @@ + + + + + + + diff --git a/viewer/src/components/item_handlers/LdDownload.vue b/viewer/src/components/item_handlers/LdDownload.vue deleted file mode 100644 index 7b09dab..0000000 --- a/viewer/src/components/item_handlers/LdDownload.vue +++ /dev/null @@ -1,57 +0,0 @@ - - - - - - - diff --git a/viewer/src/components/item_handlers/LdDownloadViewer.vue b/viewer/src/components/item_handlers/LdDownloadViewer.vue new file mode 100644 index 0000000..60c7c49 --- /dev/null +++ b/viewer/src/components/item_handlers/LdDownloadViewer.vue @@ -0,0 +1,58 @@ + + + + + + + diff --git a/viewer/src/components/item_handlers/LdPdfViewer.vue b/viewer/src/components/item_handlers/LdPdfViewer.vue index 462c463..e55989a 100644 --- a/viewer/src/components/item_handlers/LdPdfViewer.vue +++ b/viewer/src/components/item_handlers/LdPdfViewer.vue @@ -30,11 +30,12 @@ - - diff --git a/viewer/src/components/item_handlers/LdPictureViewer.vue b/viewer/src/components/item_handlers/LdPictureViewer.vue new file mode 100644 index 0000000..003ffe9 --- /dev/null +++ b/viewer/src/components/item_handlers/LdPictureViewer.vue @@ -0,0 +1,128 @@ + + + + + + + diff --git a/viewer/src/components/item_handlers/LdPlainTextViewer.vue b/viewer/src/components/item_handlers/LdPlainTextViewer.vue index cd26d9d..79465d5 100644 --- a/viewer/src/components/item_handlers/LdPlainTextViewer.vue +++ b/viewer/src/components/item_handlers/LdPlainTextViewer.vue @@ -27,11 +27,12 @@ - diff --git a/viewer/src/components/LdGallery.vue b/viewer/src/components/LdGallery.vue index 1443927..e567e7c 100644 --- a/viewer/src/components/LdGallery.vue +++ b/viewer/src/components/LdGallery.vue @@ -19,7 +19,7 @@