Skip to content

Commit

Permalink
side nav version: use subheader and give margin bottom (#2328)
Browse files Browse the repository at this point in the history
  • Loading branch information
jadmsaadaot authored Jun 13, 2024
1 parent 9752170 commit a3bff84
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions epictrack-web/src/components/layout/SideNav/SideNav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import { useAppDispatch, useAppSelector } from "../../../hooks";
import Icons from "../../icons";
import { groupBy } from "../../../utils";
import { IconProps } from "../../icons/type";
import { ETHeading4, ETSubhead } from "../../shared";
import { ETSubhead } from "../../shared";
import { hasPermission } from "../../shared/restricted";
import { toggleDrawer } from "styles/uiStateSlice";
import MiniDrawer from "./MiniDrawer";
Expand Down Expand Up @@ -250,9 +250,12 @@ export const DrawerBox = ({ open = true }: { open?: boolean }) => {
flexDirection: "row",
justifyContent: "center",
color: Palette.white,
marginBottom: "2em",
}}
>
<ETHeading4>{AppConfig.version}</ETHeading4>
<ETSubhead>
{open ? `Version: ${AppConfig.version}` : AppConfig.version}
</ETSubhead>
</Box>
</Box>
);
Expand Down

0 comments on commit a3bff84

Please sign in to comment.