mirror of
https://github.com/umami-software/umami.git
synced 2026-02-08 22:57:12 +01:00
Fixed attribution report. New metric cards. Converted ListTable.
This commit is contained in:
parent
b2aa37a3df
commit
4995a0e1e4
19 changed files with 167 additions and 288 deletions
|
|
@ -2,6 +2,7 @@
|
|||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.row.inactive {
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@ import { useMessages } from '@/components/hooks';
|
|||
export interface PanelProps extends ColumnProps {
|
||||
title?: string;
|
||||
allowFullscreen?: boolean;
|
||||
noPadding?: boolean;
|
||||
}
|
||||
|
||||
const fullscreenStyles = {
|
||||
|
|
@ -27,7 +28,14 @@ const fullscreenStyles = {
|
|||
zIndex: 9999,
|
||||
} as any;
|
||||
|
||||
export function Panel({ title, allowFullscreen, style, children, ...props }: PanelProps) {
|
||||
export function Panel({
|
||||
title,
|
||||
allowFullscreen,
|
||||
noPadding,
|
||||
style,
|
||||
children,
|
||||
...props
|
||||
}: PanelProps) {
|
||||
const { formatMessage, labels } = useMessages();
|
||||
const [isFullscreen, setIsFullscreen] = useState(false);
|
||||
|
||||
|
|
@ -37,7 +45,7 @@ export function Panel({ title, allowFullscreen, style, children, ...props }: Pan
|
|||
|
||||
return (
|
||||
<Column
|
||||
padding="6"
|
||||
padding={!noPadding ? '6' : undefined}
|
||||
border
|
||||
borderRadius="3"
|
||||
backgroundColor
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue