From 1ff4ec3d2e9adeb2bc2893e15c5c1b2fc92d22e2 Mon Sep 17 00:00:00 2001 From: Allie Crevier Date: Fri, 10 Jan 2020 16:35:53 -0800 Subject: [PATCH] fix selection coloring for source list --- securedrop_client/gui/widgets.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/securedrop_client/gui/widgets.py b/securedrop_client/gui/widgets.py index 9a214df52..b90b78850 100644 --- a/securedrop_client/gui/widgets.py +++ b/securedrop_client/gui/widgets.py @@ -841,16 +841,14 @@ class SourceList(QListWidget): Displays the list of sources. """ - # Thick 500px border in QListView::item:selected is a workaround. - # See https://github.com/freedomofpress/securedrop-client/issues/331 CSS = ''' QListView { border: none; - show-decoration-selected: 1; + show-decoration-selected: 0; border-right: 3px solid #f3f5f9; } QListView::item:selected { - border: 500px solid #f3f5f9; + background-color: #f3f5f9; } '''