mirror of
https://github.com/docmost/docmost.git
synced 2025-11-13 05:02:36 +10:00
Reduce version text size
This commit is contained in:
@ -1,5 +1,5 @@
|
|||||||
import React, { useEffect, useState } from 'react';
|
import React, { useEffect, useState } from "react";
|
||||||
import { Group, Text, ScrollArea, ActionIcon, rem } from '@mantine/core';
|
import { Group, Text, ScrollArea, ActionIcon, rem } from "@mantine/core";
|
||||||
import {
|
import {
|
||||||
IconUser,
|
IconUser,
|
||||||
IconSettings,
|
IconSettings,
|
||||||
@ -8,9 +8,9 @@ import {
|
|||||||
IconUsersGroup,
|
IconUsersGroup,
|
||||||
IconSpaces,
|
IconSpaces,
|
||||||
IconBrush,
|
IconBrush,
|
||||||
} from '@tabler/icons-react';
|
} from "@tabler/icons-react";
|
||||||
import { Link, useLocation, useNavigate } from 'react-router-dom';
|
import { Link, useLocation, useNavigate } from "react-router-dom";
|
||||||
import classes from './settings.module.css';
|
import classes from "./settings.module.css";
|
||||||
|
|
||||||
interface DataItem {
|
interface DataItem {
|
||||||
label: string;
|
label: string;
|
||||||
@ -25,27 +25,27 @@ interface DataGroup {
|
|||||||
|
|
||||||
const groupedData: DataGroup[] = [
|
const groupedData: DataGroup[] = [
|
||||||
{
|
{
|
||||||
heading: 'Account',
|
heading: "Account",
|
||||||
items: [
|
items: [
|
||||||
{ label: 'Profile', icon: IconUser, path: '/settings/account/profile' },
|
{ label: "Profile", icon: IconUser, path: "/settings/account/profile" },
|
||||||
{
|
{
|
||||||
label: 'Preferences',
|
label: "Preferences",
|
||||||
icon: IconBrush,
|
icon: IconBrush,
|
||||||
path: '/settings/account/preferences',
|
path: "/settings/account/preferences",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
heading: 'Workspace',
|
heading: "Workspace",
|
||||||
items: [
|
items: [
|
||||||
{ label: 'General', icon: IconSettings, path: '/settings/workspace' },
|
{ label: "General", icon: IconSettings, path: "/settings/workspace" },
|
||||||
{
|
{
|
||||||
label: 'Members',
|
label: "Members",
|
||||||
icon: IconUsers,
|
icon: IconUsers,
|
||||||
path: '/settings/members',
|
path: "/settings/members",
|
||||||
},
|
},
|
||||||
{ label: 'Groups', icon: IconUsersGroup, path: '/settings/groups' },
|
{ label: "Groups", icon: IconUsersGroup, path: "/settings/groups" },
|
||||||
{ label: 'Spaces', icon: IconSpaces, path: '/settings/spaces' },
|
{ label: "Spaces", icon: IconSpaces, path: "/settings/spaces" },
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
@ -96,6 +96,7 @@ export default function SettingsSidebar() {
|
|||||||
<div className={classes.version}>
|
<div className={classes.version}>
|
||||||
<Text
|
<Text
|
||||||
className={classes.version}
|
className={classes.version}
|
||||||
|
size="sm"
|
||||||
c="dimmed"
|
c="dimmed"
|
||||||
component="a"
|
component="a"
|
||||||
href="https://github.com/docmost/docmost/releases"
|
href="https://github.com/docmost/docmost/releases"
|
||||||
|
|||||||
Reference in New Issue
Block a user