diff --git a/src/client/components/sidebar.tsx b/src/client/components/sidebar.tsx index 138121806..355c9e8fe 100644 --- a/src/client/components/sidebar.tsx +++ b/src/client/components/sidebar.tsx @@ -25,8 +25,8 @@ class Sidebar extends React.Component { boards.map(board => { const displayTitle = board.title || "(Untitled Board)" return ( -
{ this.boardClicked(board) }}> -
{board.icon ? `${board.icon} ${displayTitle}` : displayTitle}
+
+
{ this.boardClicked(board) }}>{board.icon ? `${board.icon} ${displayTitle}` : displayTitle}
{ this.showOptions(e, board) }}>
@@ -67,6 +67,8 @@ class Sidebar extends React.Component { } } Menu.shared.showAtElement(e.target as HTMLElement) + + e.stopPropagation() } private boardClicked(board: Board) { diff --git a/src/static/main.css b/src/static/main.css index 3f1d3f144..798ab79cc 100644 --- a/src/static/main.css +++ b/src/static/main.css @@ -102,10 +102,13 @@ hr { flex-direction: row; font-weight: 500; - cursor: pointer; padding: 3px 20px; } +.octo-sidebar-title { + cursor: pointer; +} + .octo-sidebar-item:hover { background-color: rgba(0, 0, 0, 0.05); }