front add rtl access-right-select

This commit is contained in:
Subhonbek 2023-06-05 17:14:26 +03:00
parent 72d03d698f
commit 15f1b432b9
2 changed files with 7 additions and 2 deletions

View File

@ -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) {

View File

@ -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;