about summary refs log tree commit diff
path: root/app/javascript
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2019-11-22 15:56:59 +0100
committerEugen Rochko <eugen@zeonfederated.com>2019-11-22 15:56:59 +0100
commit42b3b019e01ee0c290a510483a2400e85cc250f1 (patch)
tree33d87e2b1ce5256b3c18c0e2870b1efb89387b67 /app/javascript
parenta60b602ade955c8ce620facae160ffabd7893d4b (diff)
Fix blur behind closed registration message (#12442)
* Fix closed registration message blur

* Adjust overlay margins to account for blur

Fixes #12425
Diffstat (limited to 'app/javascript')
-rw-r--r--app/javascript/styles/mastodon/forms.scss8
1 files changed, 7 insertions, 1 deletions
diff --git a/app/javascript/styles/mastodon/forms.scss b/app/javascript/styles/mastodon/forms.scss
index b729d912e..a0478bf7f 100644
--- a/app/javascript/styles/mastodon/forms.scss
+++ b/app/javascript/styles/mastodon/forms.scss
@@ -513,6 +513,10 @@ code {
   &__overlay-area {
     position: relative;
 
+    &__blurred form {
+      filter: blur(2px);
+    }
+
     &__overlay {
       position: absolute;
       top: 0;
@@ -523,8 +527,10 @@ code {
       justify-content: center;
       align-items: center;
       background: rgba($ui-base-color, 0.65);
-      backdrop-filter: blur(2px);
       border-radius: 4px;
+      margin-left: -4px;
+      margin-top: -4px;
+      padding: 4px;
 
       &__content {
         text-align: center;