Fixed components build. Renamed validations to permissions.

This commit is contained in:
Mike Cao 2025-09-02 09:23:35 -07:00
parent f0ec24e8f5
commit c916e4ff9c
80 changed files with 99 additions and 373 deletions

View file

@ -1,38 +0,0 @@
.row {
display: flex;
align-items: center;
gap: 10px;
width: 100%;
}
.row.inactive {
color: var(--base500);
}
.row.inactive img {
opacity: 0.35;
}
.row.active {
color: var(--base900);
font-weight: 600;
}
.row .link {
display: none;
margin-inline-start: 20px;
}
.row .label {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.row:hover .link {
display: block;
}
.icon {
cursor: pointer;
}

View file

@ -1,9 +0,0 @@
.button {
display: none;
}
@media only screen and (max-width: 768px) {
.button {
display: flex;
}
}

View file

@ -3,8 +3,10 @@ import { ReactNode } from 'react';
import { AlertBanner, Loading, Column, ColumnProps } from '@umami/react-zen';
import { useMessages } from '@/components/hooks';
const DEFAULT_WIDTH = '1320px';
export function PageBody({
maxWidth = '1320px',
maxWidth = DEFAULT_WIDTH,
error,
isLoading,
children,