Make the privacy dropdown button not look strange when using top placement
Inspired by 8fe1f8d4ce
pull/655/head
parent
24f39c0841
commit
b230c04e00
|
@ -168,6 +168,7 @@ export default class ComposerOptionsDropdown extends React.PureComponent {
|
||||||
const computedClass = classNames('composer--options--dropdown', {
|
const computedClass = classNames('composer--options--dropdown', {
|
||||||
active,
|
active,
|
||||||
open,
|
open,
|
||||||
|
top: placement === 'top',
|
||||||
});
|
});
|
||||||
|
|
||||||
// The result.
|
// The result.
|
||||||
|
|
|
@ -406,6 +406,12 @@
|
||||||
background: $ui-highlight-color;
|
background: $ui-highlight-color;
|
||||||
transition: none;
|
transition: none;
|
||||||
}
|
}
|
||||||
|
&.top {
|
||||||
|
& > .value {
|
||||||
|
border-radius: 0 0 4px 4px;
|
||||||
|
box-shadow: 0 4px 4px rgba($base-shadow-color, 0.1);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue