From b25d0fc14be1a1b08d31c69abcb4e1e232be3566 Mon Sep 17 00:00:00 2001 From: Leo Vasanko Date: Mon, 6 Nov 2023 18:51:51 +0000 Subject: [PATCH] Breadcrumbs keep longest path, browsing breadcrumbs with left/right arrows, highlight current. --- cista-front/src/App.vue | 24 ++++--- cista-front/src/assets/main.css | 1 + cista-front/src/components/BreadCrumb.vue | 70 ++++++++++++++++--- cista-front/src/components/HeaderMain.vue | 5 +- cista-front/src/components/HeaderSelected.vue | 5 +- 5 files changed, 78 insertions(+), 27 deletions(-) diff --git a/cista-front/src/App.vue b/cista-front/src/App.vue index 3b3e323..48b40a9 100644 --- a/cista-front/src/App.vue +++ b/cista-front/src/App.vue @@ -1,3 +1,16 @@ + + - - diff --git a/cista-front/src/assets/main.css b/cista-front/src/assets/main.css index 7c51406..109baaa 100644 --- a/cista-front/src/assets/main.css +++ b/cista-front/src/assets/main.css @@ -35,6 +35,7 @@ } .breadcrumb { font-size: 1.7em; + flex-shrink: 10; } } @media screen and (min-width: 800px) and (--webkit-min-device-pixel-ratio: 2) { diff --git a/cista-front/src/components/BreadCrumb.vue b/cista-front/src/components/BreadCrumb.vue index a828b7f..7e85bde 100644 --- a/cista-front/src/components/BreadCrumb.vue +++ b/cista-front/src/components/BreadCrumb.vue @@ -1,18 +1,68 @@