Skip to content

Commit

Permalink
Remove margin and border-radius if small screen
Browse files Browse the repository at this point in the history
  • Loading branch information
lindskogen committed Oct 13, 2023
1 parent 2a61e09 commit f50098f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/modal/src/components/drawer/Drawer.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,16 @@
&.floating {
margin: var(--swui-metrics-space);
border-radius: var(--swui-border-radius);

@media (max-width: 768px) {
margin: 0;
border-radius: 0;
}
}




&:focus-visible {
outline: unset;
}
Expand Down

0 comments on commit f50098f

Please sign in to comment.