diff --git a/src/App.scss b/src/App.scss index 2117a577..f20eb44c 100644 --- a/src/App.scss +++ b/src/App.scss @@ -705,15 +705,6 @@ nav { } } -@keyframes modal-background-fadein { - from { - background-color: rgba(0, 0, 0, 0); - } - to { - background-color: rgba(0, 0, 0, 0.5); - } -} - .button-icon { font-size: 1.2em; } diff --git a/src/components/modal/modal.vue b/src/components/modal/modal.vue index 34a50159..500b3d0a 100644 --- a/src/components/modal/modal.vue +++ b/src/components/modal/modal.vue @@ -31,4 +31,13 @@ opacity: 0; } } + +@keyframes modal-background-fadein { + from { + background-color: rgba(0, 0, 0, 0); + } + to { + background-color: rgba(0, 0, 0, 0.5); + } +}