Make the privacy dropdown button not look strange when using top placement

Inspired by 8fe1f8d4ce
lolsob-rspec
Thibaut Girka 2018-08-19 17:14:30 +02:00 committed by ThibG
parent 64449831c8
commit 52fe8ee95d
2 changed files with 7 additions and 0 deletions

View File

@ -168,6 +168,7 @@ export default class ComposerOptionsDropdown extends React.PureComponent {
const computedClass = classNames('composer--options--dropdown', {
active,
open,
top: placement === 'top',
});
// The result.

View File

@ -406,6 +406,12 @@
background: $ui-highlight-color;
transition: none;
}
&.top {
& > .value {
border-radius: 0 0 4px 4px;
box-shadow: 0 4px 4px rgba($base-shadow-color, 0.1);
}
}
}
}