decreased sidebar paddings

This commit is contained in:
Flatlogic Bot 2025-07-28 17:07:12 +00:00
parent 7363f93ce8
commit 28fafb8ad0
5 changed files with 13 additions and 8 deletions

5
.gitignore vendored
View File

@ -1,3 +1,8 @@
node_modules/ node_modules/
*/node_modules/ */node_modules/
*/build/ */build/
**/node_modules/
**/build/
.DS_Store
.env

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
{}

View File

@ -74,8 +74,8 @@ const AsideMenuItem = ({ item, isDropdownList = false }: Props) => {
); );
const componentClass = [ const componentClass = [
'flex cursor-pointer py-1.5 ', 'flex cursor-pointer py-1 ',
isDropdownList ? 'px-6 text-sm' : '', isDropdownList ? 'px-4 text-sm' : '',
item.color item.color
? getButtonColor(item.color, false, true) ? getButtonColor(item.color, false, true)
: `${asideMenuItemStyle}`, : `${asideMenuItemStyle}`,
@ -85,7 +85,7 @@ const AsideMenuItem = ({ item, isDropdownList = false }: Props) => {
].join(' '); ].join(' ');
return ( return (
<li className={'px-3 py-1.5'}> <li className={'px-2 py-1'}>
{item.withDevider && <hr className={`${borders} mb-3`} />} {item.withDevider && <hr className={`${borders} mb-3`} />}
{item.href && ( {item.href && (
<Link href={item.href} target={item.target} className={componentClass}> <Link href={item.href} target={item.target} className={componentClass}>

View File

@ -35,7 +35,7 @@ export default function AsideMenuLayer({
return ( return (
<aside <aside
id='asideMenu' id='asideMenu'
className={`${className} zzz lg:py-2 lg:pl-2 w-60 fixed flex z-40 top-0 h-screen transition-position overflow-hidden`} className={`${className} zzz lg:py-1 lg:pl-1 w-60 fixed flex z-40 top-0 h-screen transition-position overflow-hidden`}
> >
<div <div
className={`flex-1 flex flex-col overflow-hidden dark:bg-dark-900 ${asideStyle} ${corners}`} className={`flex-1 flex flex-col overflow-hidden dark:bg-dark-900 ${asideStyle} ${corners}`}