Web: People: Profile: add container for language selector

This commit is contained in:
Viktor Fomin 2022-04-27 19:31:26 +03:00
parent 1bd4104c6c
commit 72aceefc6c

View File

@ -93,6 +93,10 @@ const IconButtonWrapper = styled.div`
}
`;
const LangSelectorContainer = styled.div`
display: flex;
`;
class ProfileInfo extends React.PureComponent {
constructor(props) {
super(props);
@ -376,7 +380,7 @@ class ProfileInfo extends React.PureComponent {
<InfoItemLabel>{t("Common:Language")}:</InfoItemLabel>
<InfoItemValue>
{cultureNames ? (
<>
<LangSelectorContainer>
<ComboBox
directionY="both"
options={cultureNames}
@ -400,7 +404,7 @@ class ProfileInfo extends React.PureComponent {
helpButtonHeaderContent={t("Common:Language")}
className="help-icon"
/>
</>
</LangSelectorContainer>
) : (
<Loaders.Text />
)}