Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| c91ae95b96 | |||
| aff9c889a1 |
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@panic/web-ui",
|
"name": "@panic/web-ui",
|
||||||
"version": "0.1.4",
|
"version": "0.1.5",
|
||||||
"license": "AGPL-3.0-only",
|
"license": "AGPL-3.0-only",
|
||||||
"description": "Core components for panic.haus web applications",
|
"description": "Core components for panic.haus web applications",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
|
|||||||
3
renovate.json
Normal file
3
renovate.json
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json"
|
||||||
|
}
|
||||||
@@ -13,7 +13,7 @@ type SidebarNavItemProps = {
|
|||||||
|
|
||||||
export function SidebarNavItem({ to, label, icon: Icon, collapsed, onClick }: Readonly<SidebarNavItemProps>) {
|
export function SidebarNavItem({ to, label, icon: Icon, collapsed, onClick }: Readonly<SidebarNavItemProps>) {
|
||||||
const layoutClass = collapsed
|
const layoutClass = collapsed
|
||||||
? 'px-2 justify-start lg:mx-auto lg:w-8 lg:justify-center lg:px-0'
|
? 'mx-auto w-8 justify-center px-0'
|
||||||
: 'px-2 lg:w-full lg:justify-start';
|
: 'px-2 lg:w-full lg:justify-start';
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|||||||
Reference in New Issue
Block a user