Skip to content

Commit

Permalink
Feat/side bar filters mobile display (#100)
Browse files Browse the repository at this point in the history
* feat(1272397): reduce margin for actives filters section for mobile display

* feat(1272397): fix test error
  • Loading branch information
vapersmile authored and Quentin Le Caignec committed Jan 9, 2024
1 parent bbdfee3 commit 8de409b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/cuddly-shoes-lay.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@smile/react-front-kit': minor
---

Reduce margin for actives filters section for mobile display
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ export const useStyles = createStyles((theme) => ({
fontWeight: 600,
},
top: {
[`@media (max-width: ${theme.breakpoints.sm})`]: {
padding: '24px 16px',
},
background: theme.fn.primaryColor(),
border: `8px solid ${theme.white}`,
borderRadius: '16px 16px 0px 0px',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ exports[`FiltersBar matches snapshot 1`] = `
class="mantine-1qn0wrz"
>
<div
class="mantine-1e5ukvi"
class="mantine-gwowuu"
>
<div
aria-expanded="true"
Expand Down

0 comments on commit 8de409b

Please sign in to comment.