From 4d6f4afe7a88a8f806ffad16bcce015be3eda164 Mon Sep 17 00:00:00 2001 From: Josh Romero Date: Tue, 30 May 2023 19:00:32 +0000 Subject: [PATCH 1/5] chore(chrome): Remove OSD breadcrumb styling and classes Now that the breacrumb styling is coming from OUI Signed-off-by: Josh Romero --- .../header/__snapshots__/header.test.tsx.snap | 14 +-- .../header_breadcrumbs.test.tsx.snap | 6 +- .../chrome/ui/header/header_breadcrumbs.scss | 107 ------------------ .../chrome/ui/header/header_breadcrumbs.tsx | 11 +- 4 files changed, 8 insertions(+), 130 deletions(-) delete mode 100644 src/core/public/chrome/ui/header/header_breadcrumbs.scss diff --git a/src/core/public/chrome/ui/header/__snapshots__/header.test.tsx.snap b/src/core/public/chrome/ui/header/__snapshots__/header.test.tsx.snap index 4c2beb329a9..bc52d44ef90 100644 --- a/src/core/public/chrome/ui/header/__snapshots__/header.test.tsx.snap +++ b/src/core/public/chrome/ui/header/__snapshots__/header.test.tsx.snap @@ -3600,13 +3600,11 @@ exports[`Header handles visibility and lock changes 1`] = ` breadcrumbs={ Array [ Object { - "className": "osdBreadcrumbs", "data-test-subj": "breadcrumb first last", "text": "test", }, ] } - className="osdHeaderBreadcrumbs" data-test-subj="breadcrumbs" max={10} > @@ -3614,20 +3612,19 @@ exports[`Header handles visibility and lock changes 1`] = ` breadcrumbs={ Array [ Object { - "className": "osdBreadcrumbs", "data-test-subj": "breadcrumb first last", "text": "test", }, ] } - className="euiHeaderBreadcrumbs osdHeaderBreadcrumbs" + className="euiHeaderBreadcrumbs" data-test-subj="breadcrumbs" max={10} truncate={true} >