Skip to content

Commit

Permalink
Merge pull request #6437 from devos50/fix_title_color_inconsistency
Browse files Browse the repository at this point in the history
Fixed page title color inconsistency
  • Loading branch information
devos50 authored Oct 8, 2021
2 parents 6c9edcb + 1931b7e commit 3a0dafc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tribler-gui/tribler_gui/widgets/channelcontentswidget.py
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ def update_navigation_breadcrumbs(self):
breadcrumb_text = ''
breadcrumb_text_undecorated = ''
path_parts = [(m, model.channel_info["name"]) for m, model in enumerate(self.channels_stack)]
slash_separator = '<font color=#CCCCCC> / </font>'
slash_separator = '<font color=#aaa> / </font>'
for m, channel_name in reversed(path_parts):
breadcrumb_text_undecorated = " / " + channel_name + breadcrumb_text_undecorated
breadcrumb_text_elided = self.channel_name_label.fontMetrics().elidedText(
Expand All @@ -373,7 +373,7 @@ def update_navigation_breadcrumbs(self):
channel_name = "..."
breadcrumb_text = (
slash_separator
+ f'<a style="text-decoration:none;color:#A5A5A5;" href="{m}">{channel_name}</a>'
+ f'<a style="text-decoration:none;color:#eee;" href="{m}">{channel_name}</a>'
+ breadcrumb_text
)
if must_elide:
Expand Down

0 comments on commit 3a0dafc

Please sign in to comment.