Fixed attribution report. New metric cards. Converted ListTable.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user