From 3c34158fd5056a9623ddd3679a2c03e0372db0fe Mon Sep 17 00:00:00 2001 From: Martin Stamm Date: Mon, 15 Nov 2021 13:30:31 +0100 Subject: [PATCH] chore(drilldown): make CSS more robust closes #1529 --- assets/bpmn-js.css | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/assets/bpmn-js.css b/assets/bpmn-js.css index 748d30e2..90c46756 100644 --- a/assets/bpmn-js.css +++ b/assets/bpmn-js.css @@ -13,21 +13,25 @@ position: absolute; display: flex; flex-wrap: wrap; + align-items: center; top: 10px; left: 100px; font-family: var(--bjs-font-family); font-size: 16px; - align-items: center; + line-height: normal; } .bjs-breadcrumbs li { display: inline-flex; - color: var(--breadcrumbs-item-color); - cursor: pointer; padding-bottom: 5px; } -.bjs-breadcrumbs li:last-of-type { +.bjs-breadcrumbs li a { + cursor: pointer; + color: var(--breadcrumbs-item-color); +} + +.bjs-breadcrumbs li:last-of-type a { color: inherit; cursor: default; } @@ -36,7 +40,7 @@ content: url('data:image/svg+xml;utf8,'); padding: 0 8px; color: var(--breadcrumbs-arrow-color); - height: 16px; + height: 1em; } .bjs-breadcrumbs .bpmnjs-crumb {