Skip to content

Commit

Permalink
feat(panel): rounded panel in m3
Browse files Browse the repository at this point in the history
  • Loading branch information
nolimits4web committed Aug 12, 2022
1 parent cdd6cdb commit f8f05d9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/shared/classes/PanelClasses.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export const PanelClasses = (props, colors, classes) => {
'no-safe-areas-right',
floating ? 'right-full -mr-2 rounded-2xl' : 'right-full'
),
material: cls(!floating && 'rounded-r-2xl'),
opened: 'translate-x-full',
closed: '-translate-x-2',
},
Expand All @@ -28,6 +29,7 @@ export const PanelClasses = (props, colors, classes) => {
'no-safe-areas-left',
floating ? 'left-full -ml-2 rounded-2xl' : 'left-full'
),
material: cls(!floating && 'rounded-l-2xl'),
opened: '-translate-x-full',
closed: 'translate-x-2',
},
Expand Down

0 comments on commit f8f05d9

Please sign in to comment.