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 Jan 24, 2024
1 parent fa7dd65 commit fdab21d
Show file tree
Hide file tree
Showing 12 changed files with 25 additions and 20 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit fdab21d

Please sign in to comment.