🐛(frontend) fix button width nano icon only

- fix for icon-only buttons to have auto width.
This commit is contained in:
Nathan Panchout
2025-01-10 11:18:52 +01:00
parent e436fa801c
commit b9045a9678
3 changed files with 6 additions and 1 deletions
+1
View File
@@ -19,6 +19,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
- ✨(backend) add server-to-server API endpoint to create documents #467
- 💄(frontend) add filtering from left panel #475
@@ -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 />