Skip to content

Commit

Permalink
fix: changed modal new variant to use same border radius in all corners
Browse files Browse the repository at this point in the history
  • Loading branch information
adarleyjrr committed Mar 14, 2023
1 parent d954986 commit f5b083c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changes

- Changed modal `new` variant to use same border radius in all corners

### Added

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion src/components/Modal/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
@apply relative shadow-xl my-0 mx-auto md:mt-14 bg-white max-w-full min-w-screen-90 md:min-w-initial pui-border-radius pui-animate-fadeUp;
/* Define a border radius that matches with new design */
&.new {
border-radius: 20px 45px 20px 20px;
border-radius: 20px 20px 20px 20px;
}
/* Centers modal container */
&.center {
Expand Down

0 comments on commit f5b083c

Please sign in to comment.