Skip to content

Commit

Permalink
remove layout tabs from mobile sidenav v04
Browse files Browse the repository at this point in the history
  • Loading branch information
andreymikhadyuk committed Nov 14, 2023
1 parent 4ac3757 commit a7adbcc
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,6 @@
margin-top: auto;
}

.layoutTabs {
margin-top: auto;
}

.userInfoContentButton {
padding: 1rem 0;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import classNames from "classnames";
import { authentificated, selectUser } from "@/pages/Auth/store/selectors";
import commonLogoSrc from "@/shared/assets/images/logo-sidenav-2.svg";
import { useIsTabletView } from "@/shared/hooks/viewport";
import { CommonSidenavLayoutTab } from "@/shared/layouts";
import { CommonLogo } from "@/shared/ui-kit";
import { getUserName } from "@/shared/utils";
import {
Expand All @@ -13,7 +12,6 @@ import {
UserInfo,
} from "../../../SidenavLayout/components/SidenavContent";
import { useGoToCreateCommon } from "../../hooks";
import { LayoutTabs } from "../LayoutTabs";
import { Footer, Navigation, Projects } from "./components";
import styles from "./SidenavContent.module.scss";

Expand Down Expand Up @@ -49,12 +47,6 @@ const SidenavContent: FC<SidenavContentProps> = (props) => {
</>
)}
<Projects onCommonCreationClick={goToCreateCommon} />
{isTabletView && (
<LayoutTabs
className={styles.layoutTabs}
activeTab={CommonSidenavLayoutTab.Spaces}
/>
)}
{!isTabletView && (
<>
<div className={styles.userInfoSeparator} />
Expand Down

0 comments on commit a7adbcc

Please sign in to comment.