diff --git a/frontend/public/global.css b/frontend/public/global.css index d7423a7..db279dd 100644 --- a/frontend/public/global.css +++ b/frontend/public/global.css @@ -348,7 +348,7 @@ body { text-overflow: ellipsis; } -.sidebar-button div { +.sidebar-button .sidebar-button-icon { display: inline; flex-shrink: 0; diff --git a/frontend/src/components/Sidebar.svelte b/frontend/src/components/Sidebar.svelte index 6f4d97d..c0edb87 100644 --- a/frontend/src/components/Sidebar.svelte +++ b/frontend/src/components/Sidebar.svelte @@ -2,7 +2,7 @@ import { HashIcon, PlusIcon, MoreVerticalIcon, SettingsIcon, CloudIcon } from "svelte-feather-icons"; import { quadInOut } from "svelte/easing"; import { maybeFly, maybeFlyIf } from "../animations"; - import { channels, gatewayStatus, overlayStore, selectedChannel, showSidebar, smallViewport, userInfoStore } from "../stores"; + import { channels, gatewayStatus, overlayStore, selectedChannel, showSidebar, smallViewport, userInfoStore, unreadStore } from "../stores"; import UserTopBar from "./UserTopBar.svelte"; const selectChannel = (channel) => { @@ -19,30 +19,32 @@