Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6635 from bgeuken/cleanup_breadcrumb_css
Cleanup breadcrumb CSS
- Loading branch information
Showing
2 changed files
with
2 additions
and
9 deletions.
There are no files selected for viewing
9 changes: 1 addition & 8 deletions
9
src/api/app/assets/stylesheets/webui2/breadcrumbs-component.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; | ||
} | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
src/api/app/views/webui2/webui/main/_breadcrumb_items.html.haml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |