Bug 69629 - Accounts. The language selection window expands when you change the width of the browser window when the dark theme is enabled

This commit is contained in:
Timofey Boyko 2024-08-12 13:15:14 +03:00
parent 810b20ca5f
commit 6f53b26ec3
2 changed files with 3 additions and 2 deletions

View File

@ -93,6 +93,7 @@ const StyledDropdown = styled.div<{
props.zIndex ? props.zIndex : props.theme.dropDown.zIndex};
display: ${(props) =>
props.open ? (props.columnCount ? "block" : "table") : "none"};
table-layout: fixed;
${(props) =>
!props.isDropdownReady &&
@ -105,7 +106,7 @@ const StyledDropdown = styled.div<{
border: ${(props) => props.theme.dropDown.border};
border-radius: ${(props) => props.theme.dropDown.borderRadius};
-moz-border-radius: ${(props) => props.theme.dropDown.borderRadius};
-webkit-border-radius: ${(props) => props.theme.dropDown.borderRadius};
-webkit-border-radius: ${(props) => props.theme.dropDown.borderRadius};dropDownMaxHeight
box-shadow: ${(props) => props.theme.dropDown.boxShadow};
-moz-box-shadow: ${(props) => props.theme.dropDown.boxShadow};
-webkit-box-shadow: ${(props) => props.theme.dropDown.boxShadow};

View File

@ -74,7 +74,7 @@ const LanguageCombobox = (props: ComboboxProps) => {
dropDownMaxHeight={300}
fillIcon={false}
displaySelectedOption
manualWidth="41px"
manualWidth="42px"
noBorder={false}
type="onlyIcon"
optionStyle={{ padding: "0 8px" }}