about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/features
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2018-08-19 17:14:30 +0200
committerThibG <thib@sitedethib.com>2018-08-20 20:10:53 +0200
commitb230c04e005d41df056c875be1db70b0762621b0 (patch)
treeb6a8f6a54b0956fe6339268a6387111bf8868c9c /app/javascript/flavours/glitch/features
parent24f39c08419093b2559d44e866d14af0151ab7a8 (diff)
Make the privacy dropdown button not look strange when using top placement
Inspired by 8fe1f8d4cecb9f2f749c1e1e77b2439dd640ddc5
Diffstat (limited to 'app/javascript/flavours/glitch/features')
-rw-r--r--app/javascript/flavours/glitch/features/composer/options/dropdown/index.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/features/composer/options/dropdown/index.js b/app/javascript/flavours/glitch/features/composer/options/dropdown/index.js
index b3462e25a..8cfbac1bb 100644
--- a/app/javascript/flavours/glitch/features/composer/options/dropdown/index.js
+++ b/app/javascript/flavours/glitch/features/composer/options/dropdown/index.js
@@ -168,6 +168,7 @@ export default class ComposerOptionsDropdown extends React.PureComponent {
     const computedClass = classNames('composer--options--dropdown', {
       active,
       open,
+      top: placement === 'top',
     });
 
     //  The result.