about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/styles/components
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2019-04-24 15:35:27 +0200
committerThibG <thib@sitedethib.com>2019-04-24 19:47:11 +0200
commitffab9d626a41ecb05f8f61f7615005753a0ee060 (patch)
tree8b9825dcc2bd0a579c144b244d625c4063a66be2 /app/javascript/flavours/glitch/styles/components
parent9add18604c46e26bb38f72d88daaeb571288027c (diff)
Hide media upload form if no media are attached
Diffstat (limited to 'app/javascript/flavours/glitch/styles/components')
-rw-r--r--app/javascript/flavours/glitch/styles/components/composer.scss6
1 files changed, 2 insertions, 4 deletions
diff --git a/app/javascript/flavours/glitch/styles/components/composer.scss b/app/javascript/flavours/glitch/styles/components/composer.scss
index 466b654de..c7851b561 100644
--- a/app/javascript/flavours/glitch/styles/components/composer.scss
+++ b/app/javascript/flavours/glitch/styles/components/composer.scss
@@ -241,16 +241,14 @@
 }
 
 .composer--upload_form {
-  padding: 5px;
-  color: $inverted-text-color;
-  background: $simple-background-color;
-  font-size: 14px;
+  overflow: hidden;
 
   & > .content {
     display: flex;
     flex-direction: row;
     flex-wrap: wrap;
     font-family: inherit;
+    padding: 5px;
     overflow: hidden;
   }
 }