front add rtl access-right-select
This commit is contained in:
parent
72d03d698f
commit
15f1b432b9
@ -1,4 +1,4 @@
|
||||
import styled from "styled-components";
|
||||
import styled, { css } from "styled-components";
|
||||
import ComboBox from "../combobox/index.js";
|
||||
import Base from "../themes/base";
|
||||
|
||||
@ -6,6 +6,12 @@ const StyledWrapper = styled(ComboBox)`
|
||||
.combo-button {
|
||||
padding-left: 16px;
|
||||
padding-right: 8px;
|
||||
${(props) =>
|
||||
props.theme.interfaceDirection === "rtl" &&
|
||||
css`
|
||||
padding-left: 8px;
|
||||
padding-right: 16px;
|
||||
`}
|
||||
}
|
||||
|
||||
@media (max-width: 428px) {
|
||||
|
@ -46,7 +46,6 @@ const StyledDropdownItem = styled.div`
|
||||
props.isModern ? "0 8px" : props.theme.dropDownItem.padding};
|
||||
line-height: ${(props) => props.theme.dropDownItem.lineHeight};
|
||||
box-sizing: border-box;
|
||||
text-align: left;
|
||||
background: none;
|
||||
text-decoration: none;
|
||||
user-select: none;
|
||||
|
Loading…
Reference in New Issue
Block a user