+
(propositions[rawTag] = (propositions[rawTag] ?? 0) + 1));
} else {
// Tags count from the whole gallery
- Object.entries(this.$galleryStore.tags)
- .forEach(entry => (propositions[entry[0]] = entry[1].items.length));
+ Object.entries(this.$galleryStore.tags).forEach(entry => (propositions[entry[0]] = entry[1].items.length));
}
-
+
return Object.entries(propositions)
- .sort((a,b) => b[1] - a[1])
- .map(entry => ({rawTag: entry[0], count: entry[1]}));
+ .sort((a, b) => b[1] - a[1])
+ .map(entry => ({ rawTag: entry[0], count: entry[1] }));
}
extractDistinctItems(currentTags: Tag.Search[]): Gallery.Item[] {
@@ -79,12 +78,13 @@ export default class LdTagInput extends Vue {
diff --git a/viewer/src/components/LdTagInput.vue b/viewer/src/components/LdTagInput.vue
index 7c9981f..ff354c6 100644
--- a/viewer/src/components/LdTagInput.vue
+++ b/viewer/src/components/LdTagInput.vue
@@ -27,7 +27,6 @@
:data="filteredTags"
field="display"
type="is-black"
- icon="tag"
size="is-medium"
class="panelTagInput"
@typing="searchTags"
--
cgit v1.2.3
From 914aa63cb65f869be9b1707c160847be16f79a68 Mon Sep 17 00:00:00 2001
From: Zero~Informatique
Date: Fri, 31 Jan 2020 06:55:37 +0100
Subject: viewer: unified CSS classes to kebab case
---
viewer/src/components/LdTagInput.vue | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
(limited to 'viewer/src/components')
diff --git a/viewer/src/components/LdTagInput.vue b/viewer/src/components/LdTagInput.vue
index ff354c6..7bbecec 100644
--- a/viewer/src/components/LdTagInput.vue
+++ b/viewer/src/components/LdTagInput.vue
@@ -28,7 +28,7 @@
field="display"
type="is-black"
size="is-medium"
- class="panelTagInput"
+ class="paneltag-input"
@typing="searchTags"
@add="onAdd"
@remove="onRemove"
@@ -119,7 +119,7 @@ export default class LdTagInput extends Vue {
--
cgit v1.2.3
From a7d459a2620fa9523dd7ce8c9de519133ad5b1b7 Mon Sep 17 00:00:00 2001
From: Zero~Informatique
Date: Fri, 31 Jan 2020 08:01:23 +0100
Subject: viewer: tag propositions depend on current's directory. resolves #22
---
viewer/src/components/LdProposition.vue | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
(limited to 'viewer/src/components')
diff --git a/viewer/src/components/LdProposition.vue b/viewer/src/components/LdProposition.vue
index 02f7fe4..a380021 100644
--- a/viewer/src/components/LdProposition.vue
+++ b/viewer/src/components/LdProposition.vue
@@ -56,8 +56,10 @@ export default class LdTagInput extends Vue {
.filter(rawTag => !currentTags.find(currentTag => currentTag.tag === rawTag))
.forEach(rawTag => (propositions[rawTag] = (propositions[rawTag] ?? 0) + 1));
} else {
- // Tags count from the whole gallery
- Object.entries(this.$galleryStore.tags).forEach(entry => (propositions[entry[0]] = entry[1].items.length));
+ // Tags count from the current directory
+ this.$galleryStore.currentItem?.tags
+ .map(tag => this.$galleryStore.tags[tag]) // FIXME: Folders with the same name are merged in the index
+ .forEach(tagindex => (propositions[tagindex.tag] = tagindex.items.length));
}
return Object.entries(propositions)
--
cgit v1.2.3
From 170da2d55fec0359cbac780786383710b734eda7 Mon Sep 17 00:00:00 2001
From: Zero~Informatique
Date: Fri, 31 Jan 2020 09:17:57 +0100
Subject: viewer: code cleaning, moved some views to components
---
viewer/src/components/LdBreadcrumb.vue | 58 +++++++++++++++++++++++
viewer/src/components/LdCommand.vue | 68 +++++++++++++++++++++++++++
viewer/src/components/LdPicture.vue | 74 ++++++++++++++++++++++++++++++
viewer/src/components/LdProposition.vue | 4 +-
viewer/src/components/LdTagInput.vue | 2 +-
viewer/src/components/LdThumbnail.vue | 81 +++++++++++++++++++++++++++++++++
6 files changed, 284 insertions(+), 3 deletions(-)
create mode 100644 viewer/src/components/LdBreadcrumb.vue
create mode 100644 viewer/src/components/LdCommand.vue
create mode 100644 viewer/src/components/LdPicture.vue
create mode 100644 viewer/src/components/LdThumbnail.vue
(limited to 'viewer/src/components')
diff --git a/viewer/src/components/LdBreadcrumb.vue b/viewer/src/components/LdBreadcrumb.vue
new file mode 100644
index 0000000..8c5b7eb
--- /dev/null
+++ b/viewer/src/components/LdBreadcrumb.vue
@@ -0,0 +1,58 @@
+
+
+
+
+ -
+
+
+ {{item.title}}
+
+
+
+
+
+
+
+
+
diff --git a/viewer/src/components/LdCommand.vue b/viewer/src/components/LdCommand.vue
new file mode 100644
index 0000000..484e56a
--- /dev/null
+++ b/viewer/src/components/LdCommand.vue
@@ -0,0 +1,68 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/viewer/src/components/LdPicture.vue b/viewer/src/components/LdPicture.vue
new file mode 100644
index 0000000..b6a719f
--- /dev/null
+++ b/viewer/src/components/LdPicture.vue
@@ -0,0 +1,74 @@
+
+
+
+
+
+
+
+
+
+
+
diff --git a/viewer/src/components/LdProposition.vue b/viewer/src/components/LdProposition.vue
index a380021..6be0aee 100644
--- a/viewer/src/components/LdProposition.vue
+++ b/viewer/src/components/LdProposition.vue
@@ -37,10 +37,10 @@
+
+
--
cgit v1.2.3
From 2d48a8f15970d7af8092e9450057a05b4d3f9333 Mon Sep 17 00:00:00 2001
From: Zero~Informatique
Date: Fri, 31 Jan 2020 13:22:52 +0100
Subject: viewer: when loading a picture, displays a preview based on the
thumbnail on slow connections This works on Chrome, but FireFox presents some
issues: - the picture background is sometimes white instead of transparent,
hidding the background - image-orientation doesn't work for background
pictures or for negative values
---
viewer/src/components/LdPicture.vue | 49 +++++++++++++++++++++++++++++++++++--
1 file changed, 47 insertions(+), 2 deletions(-)
(limited to 'viewer/src/components')
diff --git a/viewer/src/components/LdPicture.vue b/viewer/src/components/LdPicture.vue
index b6a719f..5425a00 100644
--- a/viewer/src/components/LdPicture.vue
+++ b/viewer/src/components/LdPicture.vue
@@ -25,7 +25,13 @@
@click="onClick"
@dragscrollstart="dragging=true"
>
-
+
+
@@ -36,12 +42,35 @@ import { Component, Vue, Prop } from "vue-property-decorator";
export default class LdPicture extends Vue {
@Prop({ required: true }) readonly picture!: Gallery.Picture;
+ readonly SLOW_LOADING_TIMEOUT_MS: number = 1500;
+
dragging: boolean = false;
+ slowLoadingStyle: string | null = null;
+ timer: NodeJS.Timeout | null = null;
+
+ mounted() {
+ if (this.picture.thumbnail) this.timer = setTimeout(this.generateSlowLoadingStyle, this.SLOW_LOADING_TIMEOUT_MS);
+ }
+
+ destroyed() {
+ this.clearTimer();
+ }
+
+ clearTimer() {
+ if (this.timer) clearTimeout(this.timer);
+ this.timer = null;
+ this.slowLoadingStyle = null;
+ }
- get pictureSrc() {
+ pictureSrc() {
return `${process.env.VUE_APP_DATA_URL}${this.picture.properties.resource}`;
}
+ generateSlowLoadingStyle() {
+ this.clearTimer();
+ this.slowLoadingStyle = `background-image: url('${process.env.VUE_APP_DATA_URL}${this.picture.thumbnail}');`;
+ }
+
onClick() {
if (!this.dragging) this.$uiStore.toggleFullscreen();
this.dragging = false;
@@ -50,6 +79,22 @@ export default class LdPicture extends Vue {
--
cgit v1.2.3
From a7b235d8874fe4ad1d7e7a5ce59510d9f55b857d Mon Sep 17 00:00:00 2001
From: Zero~Informatique
Date: Sun, 2 Feb 2020 03:11:30 +0100
Subject: viewer: fixed the command button's titles (somehow the `:` were
removed before the commit)
---
viewer/src/components/LdCommand.vue | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
(limited to 'viewer/src/components')
diff --git a/viewer/src/components/LdCommand.vue b/viewer/src/components/LdCommand.vue
index 07cb354..8c6ccfc 100644
--- a/viewer/src/components/LdCommand.vue
+++ b/viewer/src/components/LdCommand.vue
@@ -19,16 +19,16 @@
-
+
-
+
-
+
-
+
--
cgit v1.2.3
From 0697693934c700f50bcc45ad58ab0b8f0370561c Mon Sep 17 00:00:00 2001
From: Zero~Informatique
Date: Sun, 2 Feb 2020 05:01:17 +0100
Subject: viewer: adaptation to the thumbnail's new structure
---
viewer/src/components/LdPicture.vue | 18 +++++++++++-------
viewer/src/components/LdThumbnail.vue | 2 +-
2 files changed, 12 insertions(+), 8 deletions(-)
(limited to 'viewer/src/components')
diff --git a/viewer/src/components/LdPicture.vue b/viewer/src/components/LdPicture.vue
index 5425a00..154c4bd 100644
--- a/viewer/src/components/LdPicture.vue
+++ b/viewer/src/components/LdPicture.vue
@@ -29,9 +29,9 @@
:src="pictureSrc()"
:class="{'slow-loading': Boolean(slowLoadingStyle)}"
:style="slowLoadingStyle"
- @load="clearTimer"
+ @load="clearSlowLoading"
/>
-
+
@@ -46,20 +46,22 @@ export default class LdPicture extends Vue {
dragging: boolean = false;
slowLoadingStyle: string | null = null;
+ loader: boolean = false;
timer: NodeJS.Timeout | null = null;
mounted() {
- if (this.picture.thumbnail) this.timer = setTimeout(this.generateSlowLoadingStyle, this.SLOW_LOADING_TIMEOUT_MS);
+ this.timer = setTimeout(this.generateSlowLoadingStyle, this.SLOW_LOADING_TIMEOUT_MS);
}
destroyed() {
- this.clearTimer();
+ this.clearSlowLoading();
}
- clearTimer() {
+ clearSlowLoading() {
if (this.timer) clearTimeout(this.timer);
this.timer = null;
this.slowLoadingStyle = null;
+ this.loader = false;
}
pictureSrc() {
@@ -67,8 +69,10 @@ export default class LdPicture extends Vue {
}
generateSlowLoadingStyle() {
- this.clearTimer();
- this.slowLoadingStyle = `background-image: url('${process.env.VUE_APP_DATA_URL}${this.picture.thumbnail}');`;
+ this.clearSlowLoading();
+ this.loader = true;
+ if (this.picture.thumbnail)
+ this.slowLoadingStyle = `background-image: url('${process.env.VUE_APP_DATA_URL}${this.picture.thumbnail.resource}');`;
}
onClick() {
diff --git a/viewer/src/components/LdThumbnail.vue b/viewer/src/components/LdThumbnail.vue
index 44a4c00..d9343dd 100644
--- a/viewer/src/components/LdThumbnail.vue
+++ b/viewer/src/components/LdThumbnail.vue
@@ -45,7 +45,7 @@ export default class LdThumbnail extends Vue {
loading: boolean = false;
pictureSrc() {
- return `${process.env.VUE_APP_DATA_URL}${this.item.thumbnail}`;
+ if (this.item.thumbnail) return `${process.env.VUE_APP_DATA_URL}${this.item.thumbnail.resource}`;
}
getIcon() {
--
cgit v1.2.3
From b88adf17c2ff40f051b356bcfab006ff3a7fbc97 Mon Sep 17 00:00:00 2001
From: Zero~Informatique
Date: Sun, 2 Feb 2020 05:20:24 +0100
Subject: viewer: disabled colour is now static instead of an arbitrary alpha
---
viewer/src/components/LdBreadcrumb.vue | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
(limited to 'viewer/src/components')
diff --git a/viewer/src/components/LdBreadcrumb.vue b/viewer/src/components/LdBreadcrumb.vue
index 8c5b7eb..171e96a 100644
--- a/viewer/src/components/LdBreadcrumb.vue
+++ b/viewer/src/components/LdBreadcrumb.vue
@@ -42,8 +42,10 @@ export default class LdBreadcrumb extends Vue {
--
cgit v1.2.3
From 31d16f6fb20eb4935fc75e83bc565070ba7e5656 Mon Sep 17 00:00:00 2001
From: Zero~Informatique
Date: Sun, 2 Feb 2020 19:59:29 +0100
Subject: viewer: crash fix for proposed tags when using discriminant format
---
viewer/src/components/LdProposition.vue | 1 +
1 file changed, 1 insertion(+)
(limited to 'viewer/src/components')
diff --git a/viewer/src/components/LdProposition.vue b/viewer/src/components/LdProposition.vue
index 6be0aee..0a293a9 100644
--- a/viewer/src/components/LdProposition.vue
+++ b/viewer/src/components/LdProposition.vue
@@ -58,6 +58,7 @@ export default class LdProposition extends Vue {
} else {
// Tags count from the current directory
this.$galleryStore.currentItem?.tags
+ .flatMap(tag => tag.split("."))
.map(tag => this.$galleryStore.tags[tag]) // FIXME: Folders with the same name are merged in the index
.forEach(tagindex => (propositions[tagindex.tag] = tagindex.items.length));
}
--
cgit v1.2.3
From b8160585c4ea0037772c6a35c45b58d48621cd4d Mon Sep 17 00:00:00 2001
From: pacien
Date: Sat, 8 Feb 2020 18:09:36 +0100
Subject: viewer: ldcommand: fix keyboard navigation
By using proper semantics, using 'a' instead of 'div' to allow keyboard selection
---
viewer/src/components/LdCommand.vue | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
(limited to 'viewer/src/components')
diff --git a/viewer/src/components/LdCommand.vue b/viewer/src/components/LdCommand.vue
index 8c6ccfc..841d773 100644
--- a/viewer/src/components/LdCommand.vue
+++ b/viewer/src/components/LdCommand.vue
@@ -19,15 +19,15 @@
-
+
-
+
--
cgit v1.2.3
From 4cae756b5c2a3544675eb5eb011b9a90e003ae6b Mon Sep 17 00:00:00 2001
From: pacien
Date: Sat, 8 Feb 2020 18:13:22 +0100
Subject: viewer: ldcommand: fix command buttons active boxes
Properly centering icons in their boxes instead of having them sitting in a corner.
---
viewer/src/components/LdCommand.vue | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
(limited to 'viewer/src/components')
diff --git a/viewer/src/components/LdCommand.vue b/viewer/src/components/LdCommand.vue
index 841d773..8257c1f 100644
--- a/viewer/src/components/LdCommand.vue
+++ b/viewer/src/components/LdCommand.vue
@@ -2,6 +2,7 @@
-- pictures into a searchable web gallery.
--
-- Copyright (C) 2019-2020 Guillaume FOUET
+-- 2020 Pacien TRAN-GIRARD
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU Affero General Public License as
@@ -63,12 +64,14 @@ export default class LdCommand extends Vue {
justify-content: space-around;
vertical-align: middle;
align-items: center;
- width: $layout-left;
+ flex: 0 0 $layout-left;
+
> * {
- // Unify the minor size differences between icons
- width: 26px;
- height: 26px;
- margin-top: 2px;
+ // normalise icon active boxes
+ width: $layout-top;
+ line-height: $layout-top;
+ text-align: center;
+ vertical-align: middle;
}
}
--
cgit v1.2.3
From a286e822c37a17efc80e99b13d5cc02fef4ee138 Mon Sep 17 00:00:00 2001
From: pacien
Date: Sat, 8 Feb 2020 18:15:50 +0100
Subject: viewer: ldcommand: reduce command bar on mobile
Hiding secondary buttons and allowing the bar to collapse.
GitHub: closes #100
---
viewer/src/components/LdCommand.vue | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
(limited to 'viewer/src/components')
diff --git a/viewer/src/components/LdCommand.vue b/viewer/src/components/LdCommand.vue
index 8257c1f..eeab89f 100644
--- a/viewer/src/components/LdCommand.vue
+++ b/viewer/src/components/LdCommand.vue
@@ -23,10 +23,10 @@
-
+
-
+
@@ -58,6 +58,7 @@ export default class LdCommand extends Vue {
--
cgit v1.2.3
From 1942eb9e6d323aca512e53732179c823139dd9a1 Mon Sep 17 00:00:00 2001
From: pacien
Date: Sat, 8 Feb 2020 18:20:50 +0100
Subject: viewer: ldcommand:Â clarify command button actions
By using more explicit icons and tooltip.
---
viewer/src/components/LdCommand.vue | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
(limited to 'viewer/src/components')
diff --git a/viewer/src/components/LdCommand.vue b/viewer/src/components/LdCommand.vue
index eeab89f..5953eac 100644
--- a/viewer/src/components/LdCommand.vue
+++ b/viewer/src/components/LdCommand.vue
@@ -20,16 +20,16 @@
-
-
+
+
-
+
-
+
-
+
@@ -42,8 +42,8 @@ import { RawLocation } from "vue-router";
@Component
export default class LdCommand extends Vue {
- commandTagsIcon(): string {
- return this.$uiStore.fullWidth ? "tags" : "window-close";
+ commandToggleSearchPanelIcon(): string {
+ return this.$uiStore.fullWidth ? "search" : "angle-double-left";
}
isRoot(): boolean {
--
cgit v1.2.3
From e606751ffeb4557cf69f7e24322d3dcc7336fc06 Mon Sep 17 00:00:00 2001
From: pacien
Date: Sat, 8 Feb 2020 18:54:56 +0100
Subject: viewer: ldproposition: fix keyboard navigation
By using proper semantics, using 'a' instead of 'div' to allow keyboard selection.
---
viewer/src/components/LdProposition.vue | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
(limited to 'viewer/src/components')
diff --git a/viewer/src/components/LdProposition.vue b/viewer/src/components/LdProposition.vue
index 0a293a9..0da24ad 100644
--- a/viewer/src/components/LdProposition.vue
+++ b/viewer/src/components/LdProposition.vue
@@ -2,6 +2,7 @@
-- pictures into a searchable web gallery.
--
-- Copyright (C) 2019-2020 Guillaume FOUET
+-- 2020 Pacien TRAN-GIRARD
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU Affero General Public License as
@@ -20,16 +21,16 @@
-
-
-
+ >{{proposed.rawTag}}
x{{proposed.count}}
--
cgit v1.2.3
From 6d2cc07e543ae86facc4194108038a3310bc1e7a Mon Sep 17 00:00:00 2001
From: pacien
Date: Sat, 8 Feb 2020 19:04:34 +0100
Subject: viewer: ldproposition: add tooltips for actions on suggestions
GitHub: closes #23
---
viewer/src/components/LdProposition.vue | 25 ++++++++++++++++++-------
1 file changed, 18 insertions(+), 7 deletions(-)
(limited to 'viewer/src/components')
diff --git a/viewer/src/components/LdProposition.vue b/viewer/src/components/LdProposition.vue
index 0da24ad..395611f 100644
--- a/viewer/src/components/LdProposition.vue
+++ b/viewer/src/components/LdProposition.vue
@@ -21,17 +21,28 @@
--
cgit v1.2.3
From ec5bda34f9d2714db19d61cd9e82fb45cc15bfc1 Mon Sep 17 00:00:00 2001
From: pacien
Date: Mon, 10 Feb 2020 12:18:32 +0100
Subject: viewer: use a different background to separate command buttons and
breadcrumbs
---
viewer/src/components/LdBreadcrumb.vue | 1 -
viewer/src/components/LdCommand.vue | 1 +
2 files changed, 1 insertion(+), 1 deletion(-)
(limited to 'viewer/src/components')
diff --git a/viewer/src/components/LdBreadcrumb.vue b/viewer/src/components/LdBreadcrumb.vue
index 171e96a..ebefc50 100644
--- a/viewer/src/components/LdBreadcrumb.vue
+++ b/viewer/src/components/LdBreadcrumb.vue
@@ -45,7 +45,6 @@ export default class LdBreadcrumb extends Vue {
@import "@/assets/scss/theme.scss";
.ld-breadcrumb {
- border-left: 1px solid $disabled-color;
padding-left: 15px;
display: flex;
list-style: none;
diff --git a/viewer/src/components/LdCommand.vue b/viewer/src/components/LdCommand.vue
index 8c6ccfc..54b602c 100644
--- a/viewer/src/components/LdCommand.vue
+++ b/viewer/src/components/LdCommand.vue
@@ -60,6 +60,7 @@ export default class LdCommand extends Vue {
@import "@/assets/scss/theme.scss";
.command-btns {
+ background-color: $command-buttons-bgcolor;
justify-content: space-around;
vertical-align: middle;
align-items: center;
--
cgit v1.2.3
From c158f21dfc2411cd8d6cbd36a9b0e90ff5265597 Mon Sep 17 00:00:00 2001
From: Zero~Informatique
Date: Mon, 10 Feb 2020 14:39:19 +0100
Subject: viewer: formatting and > a instead of > * in the CSS (the star
selector is to be avoided if possible, it's slow and dangerous)
---
viewer/src/components/LdCommand.vue | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
(limited to 'viewer/src/components')
diff --git a/viewer/src/components/LdCommand.vue b/viewer/src/components/LdCommand.vue
index 5953eac..5b9bbff 100644
--- a/viewer/src/components/LdCommand.vue
+++ b/viewer/src/components/LdCommand.vue
@@ -23,7 +23,12 @@
-
+
@@ -67,7 +72,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;
--
cgit v1.2.3
From b56fd91c3ecc61ccbe692a21e8eb0f378b4a90ca Mon Sep 17 00:00:00 2001
From: Zero~Informatique
Date: Mon, 10 Feb 2020 05:41:16 +0100
Subject: viewer: ldbreadcrumbs: implement horizontal scrolling
This comes with a fix for the DragScroll component for mobile devices.
GitHub: closes #101, closes #102
---
viewer/src/components/LdBreadcrumb.vue | 93 +++++++++++++++++++++++++++-------
viewer/src/components/LdPicture.vue | 14 +++--
2 files changed, 82 insertions(+), 25 deletions(-)
(limited to 'viewer/src/components')
diff --git a/viewer/src/components/LdBreadcrumb.vue b/viewer/src/components/LdBreadcrumb.vue
index ebefc50..5f9695d 100644
--- a/viewer/src/components/LdBreadcrumb.vue
+++ b/viewer/src/components/LdBreadcrumb.vue
@@ -18,23 +18,62 @@
-->
-
- -
-
-
- {{item.title}}
-
-
-
-
+
--
cgit v1.2.3
From ff889de22e5c6fc5102395c5cf384a7e1e3dc801 Mon Sep 17 00:00:00 2001
From: Zero~Informatique
Date: Tue, 11 Feb 2020 01:43:28 +0100
Subject: viewer: larger breadcrumb links
---
viewer/src/components/LdBreadcrumb.vue | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
(limited to 'viewer/src/components')
diff --git a/viewer/src/components/LdBreadcrumb.vue b/viewer/src/components/LdBreadcrumb.vue
index 5f9695d..7f7ef7d 100644
--- a/viewer/src/components/LdBreadcrumb.vue
+++ b/viewer/src/components/LdBreadcrumb.vue
@@ -98,17 +98,18 @@ export default class LdBreadcrumb extends Vue {
.ld-breadcrumb {
ul {
display: flex;
- height: 100%;
- align-items: center;
white-space: nowrap;
}
a {
+ padding: $breadcrumb-margins 0;
margin-left: $breadcrumb-margins;
}
li {
+ align-self: center;
margin-right: $breadcrumb-margins;
}
&.scrollbar {
+ overflow-y: hidden;
scrollbar-width: none;
&::-webkit-scrollbar {
height: 0;
--
cgit v1.2.3
From abcd10f8ac944f29a77d756558b1773551ee0877 Mon Sep 17 00:00:00 2001
From: Zero~Informatique
Date: Tue, 11 Feb 2020 02:06:49 +0100
Subject: viewer: thumbnail others fixed sizes for better layout
---
viewer/src/components/LdThumbnail.vue | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
(limited to 'viewer/src/components')
diff --git a/viewer/src/components/LdThumbnail.vue b/viewer/src/components/LdThumbnail.vue
index d5c0b3c..17c7659 100644
--- a/viewer/src/components/LdThumbnail.vue
+++ b/viewer/src/components/LdThumbnail.vue
@@ -27,7 +27,7 @@
@intersect="loading=true"
@load="loading=false"
/>
-
+
{{item.title}}
@@ -63,6 +63,12 @@ export default class LdThumbnail extends Vue {