Skip to content

Commit

Permalink
chore: update ActionToast style
Browse files Browse the repository at this point in the history
  • Loading branch information
ambar committed Feb 7, 2022
1 parent 87faf57 commit b5ae016
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/griffith/src/components/ActionToast.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export const ActionToastOutlet = React.memo(() => {
const {key, icon, label} = state

return (
<div className={css(styles.action)} key={key}>
<div className={css(styles.action, styles.actionToast)} key={key}>
<div className={css(styles.actionButton, styles.actionButtonAnimated)}>
{icon && <Icon icon={icon} styles={styles.actionIcon} />}
</div>
Expand Down
4 changes: 4 additions & 0 deletions packages/griffith/src/components/Player.styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,10 @@ export default StyleSheet.create({
transform: 'translate(-50%, -50%)',
},

actionToast: {
pointerEvents: 'none',
},

backdrop: {
position: 'absolute',
left: 0,
Expand Down

0 comments on commit b5ae016

Please sign in to comment.