🐛(frontend) fix button width nano icon only

- fix for icon-only buttons to have auto width.
This commit is contained in:
Nathan Panchout
2024-12-05 17:20:48 +01:00
parent 5363a1328e
commit 9e900f5b44
3 changed files with 6 additions and 1 deletions
+1
View File
@@ -17,6 +17,7 @@ and this project adheres to
- 💄(frontend) update DocsGridOptions component #432
- 💄(frontend) update DocHeader ui #446
- 💄(frontend) update doc versioning ui #463
- 🐛(frontend) fix doc grid button #478
- 💄(frontend) update doc home left panel #475
## [1.8.2] - 2024-11-28
@@ -356,6 +356,10 @@ input:-webkit-autofill:focus {
gap: var(--c--theme--spacings--2xs);
}
.c__button--nano.c__button--icon-only {
width: auto;
}
.c__button--medium {
padding: 0.9rem var(--c--theme--spacings--s);
}
@@ -9,7 +9,7 @@ export const LeftPanelContent = () => {
const isHome = router.pathname === '/';
return (
<Box>
<Box $width="100%">
{isHome && (
<SeparatedSection>
<LeftPanelTargetFilters />