mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-02-17 00:21:20 -05:00
Fix modal layout
The styles in the upgraded react-modal broke our centering. The auto-focusing on the modal made an annoying blue border around it in Chrome.
This commit is contained in:
parent
c9b37c848b
commit
c966f8a0ba
2 changed files with 5 additions and 0 deletions
|
@ -11,6 +11,7 @@ var defaultStyle = {
|
|||
backgroundColor: 'rgba(0, 0, 0, .75)'
|
||||
},
|
||||
content: {
|
||||
position: 'absolute',
|
||||
overflow: 'visible',
|
||||
borderRadius: '6px',
|
||||
width: 500,
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
@import "../../colors";
|
||||
|
||||
.ReactModal__Content {
|
||||
&:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
iframe {
|
||||
border: 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue