diff --git a/src/api/app/assets/stylesheets/webui2/breadcrumbs-component.scss b/src/api/app/assets/stylesheets/webui2/breadcrumbs-component.scss index c87d5c94a88..ef0c866a906 100644 --- a/src/api/app/assets/stylesheets/webui2/breadcrumbs-component.scss +++ b/src/api/app/assets/stylesheets/webui2/breadcrumbs-component.scss @@ -1,18 +1,11 @@ ol.breadcrumb { padding-top: 0.5rem; - & li.breadcrumb-item { + & li { font-size: 0.9rem; & a { color: $gray-600; } } - - & li.breadcrumb-anchor { - font-size: 0.9rem; - & a { - color: $gray-600; - } - } } diff --git a/src/api/app/views/webui2/webui/main/_breadcrumb_items.html.haml b/src/api/app/views/webui2/webui/main/_breadcrumb_items.html.haml index 3baa26afd35..c09a67b0e6e 100644 --- a/src/api/app/views/webui2/webui/main/_breadcrumb_items.html.haml +++ b/src/api/app/views/webui2/webui/main/_breadcrumb_items.html.haml @@ -1,5 +1,5 @@ - home_title = @configuration ? @configuration['title'] : 'Open Build Service' - unless current_page?(root_path) - %li.breadcrumb-anchor + %li = link_to(root_path, title: home_title) do %i.fas.fa-home.mr-2