about summary refs log tree commit diff
path: root/app/javascript/styles
diff options
context:
space:
mode:
authorYamagishi Kazutoshi <ykzts@desire.sh>2017-06-21 02:43:09 +0900
committerEugen Rochko <eugen@zeonfederated.com>2017-06-20 19:43:09 +0200
commiteb832e88f44d661a504a091defc051e052eb1252 (patch)
tree15d08d2757ac31855db4c2c677ad18487821d3fc /app/javascript/styles
parentb16b69350eb4ded2e1011931433b51dac5e34b53 (diff)
Replace TextIconButton for SensitiveButton to IconButton (#3759)
* Replace TextIconButton for SensitiveButton to IconButton

* line-height
Diffstat (limited to 'app/javascript/styles')
-rw-r--r--app/javascript/styles/components.scss12
1 files changed, 12 insertions, 0 deletions
diff --git a/app/javascript/styles/components.scss b/app/javascript/styles/components.scss
index 1cd0eba74..ecfc186eb 100644
--- a/app/javascript/styles/components.scss
+++ b/app/javascript/styles/components.scss
@@ -306,6 +306,18 @@
   line-height: 27px;
 }
 
+.compose-form__sensitive-button {
+  display: none;
+
+  &.compose-form__sensitive-button--visible {
+    display: block;
+  }
+
+  .compose-form__sensitive-button__icon {
+    line-height: 27px;
+  }
+}
+
 .compose-form__upload-wrapper {
   overflow: hidden;
 }