Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix breadcrumb styles for Wazuh Dashboard based on OSD 2.3.x #4649

Merged
merged 9 commits into from
Oct 19, 2022
35 changes: 28 additions & 7 deletions public/components/common/globalBreadcrumb/globalBreadcrumb.scss
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
nav.euiBreadcrumbs.wz-global-breadcrumb span.euiBreadcrumb[title=""]:first-child{
/*nav.euiBreadcrumbs.wz-global-breadcrumb span.euiBreadcrumb[title=""]:first-child {
yenienserrano marked this conversation as resolved.
Show resolved Hide resolved
display: none;
}
}*/

.euiBreadcrumbs--truncate .wz-global-breadcrumb .euiBreadcrumb:not(.euiBreadcrumb--collapsed) span.euiToolTipAnchor{
.euiBreadcrumbs--truncate .wz-global-breadcrumb .euiBreadcrumb:not(.euiBreadcrumb--collapsed) span.euiToolTipAnchor {
max-width: 100%;
overflow: hidden;
text-overflow: ellipsis;
Expand All @@ -14,18 +14,39 @@ nav.euiBreadcrumbs.wz-global-breadcrumb span.euiBreadcrumb[title=""]:first-child
padding: 0px;
}

.wz-global-breadcrumb-btn{
max-width: unset!important;
.wz-global-breadcrumb-btn {
max-width: unset !important;
}

@media screen and (-webkit-min-device-pixel-ratio: 0) {
_::-webkit-full-page-media, _:future, :root , .wz-global-breadcrumb {

_::-webkit-full-page-media,
_:future,
:root,
.wz-global-breadcrumb {
line-height: 1.5;
}
}

@-moz-document url-prefix() {
.wz-global-breadcrumb #breadcrumbNoTitle {
height: auto!important;
height: auto !important;
}
}

// styles for opensearch >2.x

.osdHeaderBreadcrumbs,
.osdHeaderBreadcrumbs--dark {
filter: none;
}

.osdHeaderBreadcrumbs .euiBreadcrumb:not(.euiBreadcrumb:last-child),
.osdHeaderBreadcrumbs--dark .euiBreadcrumb:not(.euiBreadcrumb:last-child) {
margin-right: 8px;
}

.osdHeaderBreadcrumbs .euiBreadcrumbSeparator,
.osdHeaderBreadcrumbs--dark .euiBreadcrumbSeparator {
display: block;
Machi3mfl marked this conversation as resolved.
Show resolved Hide resolved
}