improve: minor change in main/side nav css

This commit is contained in:
h z
2025-01-16 18:00:44 +00:00
parent cdf9039049
commit 3f4669f776
4 changed files with 19 additions and 8 deletions

View File

@@ -8,7 +8,7 @@ const SideNavigation = () => {
const {data: paths, isLoading, error } = usePaths(1);
const deletePath = useDeletePath();
const updatePath = useUpdatePath();
const [searchTerm, setSearchTerm] = React.useState("");
const sortedPaths = paths
? paths.slice().sort((a, b) => a.order.localeCompare(b.order))
: [];
@@ -39,7 +39,7 @@ const SideNavigation = () => {
return (
<aside className="menu">
<p className="menu-label">Markdown Directory</p>
<p className="menu-label">---</p>
<PermissionGuard rolesRequired={["admin", "creator"]}>
<a
href="/markdown/create"