-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix focused button box-shadow being clipped (#2910)
This has been a thorn in my eye for a very long time. <img width="181" alt="pre_button" src="https://github.com/comic/grand-challenge.org/assets/7871310/d8749718-3bbe-4192-a06f-e3101819203d"> Any button rendered near the bottom of a content (e.g. towards the footer) would have its border occluded when pressed. By adding some margin that matches the border radius of `.btn` this is fixed: <img width="176" alt="post" src="https://github.com/comic/grand-challenge.org/assets/7871310/2dcefaca-6c98-490a-a370-a1c3156c143f"> For existing elements with `.btn` and `.m-1` (or variant) the margin is removed.
- Loading branch information
1 parent
350adbb
commit ef709e7
Showing
4 changed files
with
12 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters