Skip to content

Commit

Permalink
fix(IconButton): add fit-content (#6440)
Browse files Browse the repository at this point in the history
- Fixes #6057
  • Loading branch information
SevereCloud authored and actions-user committed Jan 24, 2024
1 parent 310162f commit 42d1844
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ export const IconButtonPlayground = (props: ComponentPlaygroundProps) => {
],
$adaptivity: 'y',
},
{
children: [<Icon28MessageOutline key="icon-w28" />],
href: ['https://vk.ru'],
},
]}
>
{(props: IconButtonProps) => (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
margin: 0;
position: relative;
block-size: 48px;
inline-size: fit-content;

/**
* Чтобы закргуление было равно половине высоты.
Expand Down

0 comments on commit 42d1844

Please sign in to comment.