Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/frontend/src/components/Sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ export const Sidebar: React.FC<SidebarProps> = ({ open, onNavigate }) => {
return (
<nav className={`sidebar ${open ? "open" : ""}`}>
<div className="sidebar-header">MADE</div>
{version && <div className="sidebar-version">v{version}</div>}
<ul>
{MENU_ITEMS.map((item) => {
const Icon = item.icon;
Expand All @@ -65,6 +64,7 @@ export const Sidebar: React.FC<SidebarProps> = ({ open, onNavigate }) => {
);
})}
</ul>
{version && <div className="sidebar-version">v{version}</div>}
</nav>
);
};
6 changes: 4 additions & 2 deletions packages/frontend/src/styles/sidebar.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@

.sidebar ul {
list-style: none;
flex: 1;
padding: 0;
margin: 0;
display: flex;
Expand Down Expand Up @@ -66,6 +67,7 @@
font-size: 0.7rem;
text-align: center;
color: var(--muted);
margin-top: 0;
margin-bottom: 0.5rem;
margin-top: auto;
margin-bottom: 0;
padding-top: 0.5rem;
}
Loading