Skip to content

Commit

Permalink
fix(MobileHeader): fix padding in showcase
Browse files Browse the repository at this point in the history
  • Loading branch information
Sofiya Pavlenko committed Sep 20, 2024
1 parent f6b3183 commit 177b010
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 2 deletions.
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.
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,12 @@ body {
justify-content: center;
min-height: 250px;
}

&__side-item {
padding: 10px;
background: none;
border: none;
outline: none;
cursor: pointer;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -97,16 +97,17 @@ export function MobileHeaderShowcase() {
];

const sideItem = (
<div
<button
className={b('side-item')}
onClick={() => {
ref?.current?.dispatchEvent(
getMobileHeaderCustomEvent('MOBILE_PANEL_TOGGLE', {panelName: 'settings'}),
);
}}
aria-label="settings"
>
<Icon data={Gear} size={20} />
</div>
</button>
);

return (
Expand Down

0 comments on commit 177b010

Please sign in to comment.