about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/styles
diff options
context:
space:
mode:
authorStarfall <us@starfall.systems>2021-02-21 13:10:39 -0600
committerStarfall <us@starfall.systems>2021-02-21 13:10:39 -0600
commit86de4ec5559164a49b2790d774f8bba5af02c64f (patch)
tree804ac22f8ea54824346d336f9fe7664e205719ff /app/javascript/flavours/glitch/styles
parent3693000bf6a94219e3cc4a29a6cb4ac51b78cf2a (diff)
parent8792128f38e19b0d7882468a4f1f9362b98793a0 (diff)
Merge remote-tracking branch 'glitchsoc/main' into main
Diffstat (limited to 'app/javascript/flavours/glitch/styles')
-rw-r--r--app/javascript/flavours/glitch/styles/components/modal.scss13
-rw-r--r--app/javascript/flavours/glitch/styles/modal.scss13
2 files changed, 24 insertions, 2 deletions
diff --git a/app/javascript/flavours/glitch/styles/components/modal.scss b/app/javascript/flavours/glitch/styles/components/modal.scss
index 421cbec00..0bda305a8 100644
--- a/app/javascript/flavours/glitch/styles/components/modal.scss
+++ b/app/javascript/flavours/glitch/styles/components/modal.scss
@@ -458,6 +458,10 @@
   }
 }
 
+.favourite-modal .status-direct {
+  background-color: inherit;
+}
+
 .actions-modal {
   .status {
     background: $white;
@@ -1027,3 +1031,12 @@
     }
   }
 }
+
+.modal-root__container .composer--options--dropdown {
+  flex-grow: 0;
+}
+
+.modal-root__container .composer--options--dropdown--content {
+  pointer-events: auto;
+  z-index: 9999;
+}
diff --git a/app/javascript/flavours/glitch/styles/modal.scss b/app/javascript/flavours/glitch/styles/modal.scss
index 10de454c6..6c6de4206 100644
--- a/app/javascript/flavours/glitch/styles/modal.scss
+++ b/app/javascript/flavours/glitch/styles/modal.scss
@@ -12,10 +12,19 @@
   flex-direction: column;
   justify-content: flex-end;
 
-  > * {
+  > div {
     flex: 1;
     max-height: 235px;
-    background: url('~images/elephant_ui_plane.svg') no-repeat left bottom / contain;
+    position: relative;
+
+    img {
+      max-height: 100%;
+      max-width: 100%;
+      height: 100%;
+      position: absolute;
+      bottom: 0;
+      left: 0;
+    }
   }
 }