Skip to content

Commit

Permalink
chore: InfoPanelActionGroup UI tweaks (#30735)
Browse files Browse the repository at this point in the history
  • Loading branch information
juliajforesti authored and debdutdeb committed Oct 26, 2023
1 parent f8a2a31 commit 570721b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ const InfoPanelAction = ({ label, icon, ...props }: InfoPanelActionProps): React
title={typeof label === 'string' ? label : undefined}
aria-label={typeof label === 'string' ? label : undefined}
{...props}
mi={4}
icon={icon}
>
{label}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import Section from './InfoPanelSection';

const InfoPanelActionGroup: FC<ComponentProps<typeof ButtonGroup>> = (props) => (
<Section>
<ButtonGroup flexShrink={0} flexWrap='nowrap' withTruncatedText justifyContent='center' {...props} />
<ButtonGroup align='center' {...props} />
</Section>
);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const RoomInfo = ({ room, icon, onClickBack, onClickClose, onClickEnterRoom, onC
<Menu
small={false}
flexShrink={0}
mi={2}
mi={4}
key='menu'
maxHeight='initial'
secondary
Expand Down

0 comments on commit 570721b

Please sign in to comment.