diff --git a/webapp/src/components/sidebar/__snapshots__/sidebarBoardItem.test.tsx.snap b/webapp/src/components/sidebar/__snapshots__/sidebarBoardItem.test.tsx.snap index 673cd03d422..7e3155dda6f 100644 --- a/webapp/src/components/sidebar/__snapshots__/sidebarBoardItem.test.tsx.snap +++ b/webapp/src/components/sidebar/__snapshots__/sidebarBoardItem.test.tsx.snap @@ -8,25 +8,9 @@ exports[`components/sidebarBoardItem renders default icon if no custom icon set
- - - - - +
.Icon { - width: 19px; - vertical-align: top; + .octo-sidebar-icon { + .CompassIcon { + font-size: 18px; + margin: 0 -2px 0 -1px; + + &::before { + margin: 0; + } + } + + > .Icon { + width: 16px; + vertical-align: top; + margin-left: -2px; + } } .Menu.noselect.left { diff --git a/webapp/src/components/sidebar/sidebarBoardItem.tsx b/webapp/src/components/sidebar/sidebarBoardItem.tsx index 14aed53a682..43ce47cbb65 100644 --- a/webapp/src/components/sidebar/sidebarBoardItem.tsx +++ b/webapp/src/components/sidebar/sidebarBoardItem.tsx @@ -21,6 +21,7 @@ import {useAppSelector} from '../../store/hooks' import {getCurrentBoardViews, getCurrentViewId} from '../../store/views' import Folder from '../../widgets/icons/folder' import Check from '../../widgets/icons/checkIcon' +import CompassIcon from '../../widgets/icons/compassIcon' import BoardIcon from '../../widgets/icons/board' import TableIcon from '../../widgets/icons/table' import GalleryIcon from '../../widgets/icons/gallery' @@ -117,7 +118,7 @@ const SidebarBoardItem = (props: Props) => { ref={boardItemRef} >
- {board.icon || } + {board.icon || }