From 309222c08212f885ded3c7740f741aab86d3862b Mon Sep 17 00:00:00 2001 From: Arun Kumar Date: Sat, 1 Apr 2023 02:43:59 +0530 Subject: [PATCH] Desktop: Fixes #8000: Fixed Linux tag display issues (#8002) --- packages/app-desktop/gui/Sidebar/Sidebar.tsx | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/packages/app-desktop/gui/Sidebar/Sidebar.tsx b/packages/app-desktop/gui/Sidebar/Sidebar.tsx index 48810352b8..901d82bd3e 100644 --- a/packages/app-desktop/gui/Sidebar/Sidebar.tsx +++ b/packages/app-desktop/gui/Sidebar/Sidebar.tsx @@ -48,6 +48,15 @@ const StyledFoldersHolder = styled.div` }} } `; +const TagsHolder = styled.div` + // linux bug: https://github.com/laurent22/joplin/issues/8000 + // solution ref: https://github.com/laurent22/joplin/issues/7506#issuecomment-1447101057 + & a.list-item { + ${shim.isLinux() && { + opacity: 1, + }} + } +`; interface Props { themeId: number; @@ -738,9 +747,9 @@ const SidebarComponent = (props: Props) => { tagItemsOrder_.current = result.order; items.push( -
+ {tagItems} -
+ ); }