Components: Combobox: fix style

This commit is contained in:
Viktor Fomin 2022-09-16 02:27:47 +03:00
parent de122f813e
commit a0d0bd6f66
2 changed files with 10 additions and 1 deletions

View File

@ -139,6 +139,7 @@ class ComboBox extends React.Component {
data={selectedOption}
onClick={this.comboBoxClick}
toggleAction={toggleAction}
isOpen={isOpen}
{...this.props}
>
<ComboButton

View File

@ -1,4 +1,4 @@
import styled from "styled-components";
import styled, { css } from "styled-components";
import Base from "../themes/base";
const StyledComboBox = styled.div`
@ -13,6 +13,14 @@ const StyledComboBox = styled.div`
position: relative;
outline: 0;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
padding: 4px 0;
${(props) =>
props.isOpen &&
props.noBorder &&
css`
background: #dfe2e3;
`}
.dropdown-container {
padding: ${(props) =>