mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 04:37:11 +01:00
Responsive updates.
This commit is contained in:
parent
53929626cf
commit
14981717b9
5 changed files with 231 additions and 212 deletions
|
|
@ -37,7 +37,8 @@ export function Panel({ title, allowFullscreen, style, children, ...props }: Pan
|
|||
|
||||
return (
|
||||
<Column
|
||||
padding={{ xs: '3', md: '6' }}
|
||||
paddingY="6"
|
||||
paddingX={{ xs: '3', md: '6' }}
|
||||
border
|
||||
borderRadius="3"
|
||||
backgroundColor
|
||||
|
|
@ -50,7 +51,7 @@ export function Panel({ title, allowFullscreen, style, children, ...props }: Pan
|
|||
{allowFullscreen && (
|
||||
<Row justifyContent="flex-end" alignItems="center">
|
||||
<TooltipTrigger delay={0} isDisabled={isFullscreen}>
|
||||
<Button variant="quiet" onPress={handleFullscreen}>
|
||||
<Button size="sm" variant="quiet" onPress={handleFullscreen}>
|
||||
<Icon>{isFullscreen ? <X /> : <Maximize />}</Icon>
|
||||
</Button>
|
||||
<Tooltip>{formatMessage(labels.maximize)}</Tooltip>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue