mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 12:47:13 +01:00
Fixed components build. Renamed validations to permissions.
This commit is contained in:
parent
f0ec24e8f5
commit
c916e4ff9c
80 changed files with 99 additions and 373 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
.button {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 768px) {
|
||||
.button {
|
||||
display: flex;
|
||||
}
|
||||
}
|
||||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue