Merge remote-tracking branch 'upstream/develop' into shigusegubu
* upstream/develop: (32 commits) set flex-shrink and flex-basis explicitly set flex amount correctly update flex-grow calculation logic keep image natural ratio in gallery row populate gallery row height without getting width refactor using Set clean up update event name update condition move modal animation keyframes definition migrate viewClass prop to class attribute fix eslint errors fix message input not auto-focusing bug revert changes to render modal into portal use higher css specificity fix eslint warnings remove needless ref definition render modals into the “modal” portal remove needless console.log remove needless importing ...
This commit is contained in:
commit
6a5d57d2fe
24 changed files with 207 additions and 176 deletions
25
src/App.scss
25
src/App.scss
|
|
@ -717,31 +717,6 @@ nav {
|
|||
}
|
||||
}
|
||||
|
||||
@keyframes modal-background-fadein {
|
||||
from {
|
||||
background-color: rgba(0, 0, 0, 0);
|
||||
}
|
||||
to {
|
||||
background-color: rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
}
|
||||
|
||||
.modal-view {
|
||||
z-index: 1000;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
overflow: auto;
|
||||
animation-duration: 0.2s;
|
||||
background-color: rgba(0, 0, 0, 0.5);
|
||||
animation-name: modal-background-fadein;
|
||||
}
|
||||
|
||||
.button-icon {
|
||||
font-size: 1.2em;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue