fix(interactions): add correct border
Fix hand button border style.
This commit is contained in:
parent
3990f29f7c
commit
3b6c1d565c
@ -9,9 +9,6 @@ import UserReactionService from '/imports/ui/components/user-reaction/service';
|
||||
import UserListService from '/imports/ui/components/user-list/service';
|
||||
import QuestionsService from '/imports/ui/components/questions/service';
|
||||
|
||||
import cx from 'classnames';
|
||||
import { styles } from '../styles';
|
||||
|
||||
const InteractionsButton = (props) => {
|
||||
const {
|
||||
userId,
|
||||
@ -156,10 +153,10 @@ const InteractionsButton = (props) => {
|
||||
|
||||
const renderEmojiPicker = () => (
|
||||
<Styled.Wrapper>
|
||||
<ReactionsPicker
|
||||
<ReactionsPicker
|
||||
{...props}
|
||||
onEmojiSelect={handleReactionSelect}
|
||||
/>
|
||||
onEmojiSelect={handleReactionSelect}
|
||||
/>
|
||||
</Styled.Wrapper>
|
||||
);
|
||||
|
||||
@ -212,8 +209,8 @@ const InteractionsButton = (props) => {
|
||||
<BBBMenu
|
||||
classes={[styles.offsetBottom]}
|
||||
trigger={(
|
||||
<>
|
||||
<Button
|
||||
<Styled.InteractionsDropdown>
|
||||
<Styled.RaiseHandButton
|
||||
data-test="InteractionsButton"
|
||||
icon={emoji === 'raiseHand' ? 'interactions-hand' : 'interactions-hand-down'}
|
||||
label={emoji === 'raiseHand'
|
||||
|
@ -76,12 +76,12 @@ const Right = styled.div`
|
||||
`;
|
||||
|
||||
const RaiseHandButton = styled(Button)`
|
||||
${({ emoji }) => emoji !== 'raiseHand' && `
|
||||
span {
|
||||
box-shadow: none;
|
||||
background-color: transparent !important;
|
||||
border-color: ${colorWhite} !important;
|
||||
}
|
||||
${({ ghost }) => ghost && `
|
||||
& > span {
|
||||
box-shadow: none;
|
||||
background-color: transparent !important;
|
||||
border-color: ${colorWhite} !important;
|
||||
}
|
||||
`}
|
||||
`;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user