Merge branch 'feature/virtual-rooms-1.2' into feature/interface-theme

This commit is contained in:
Timofey Boyko 2022-04-18 15:11:50 +03:00
commit d6fcc35703
5 changed files with 33 additions and 23 deletions

View File

@ -108,7 +108,6 @@ RadioButtonGroup.defaultProps = {
selected: undefined,
spacing: "15px",
orientation: "horizontal",
width: "100%",
};
export default RadioButtonGroup;

View File

@ -17,7 +17,7 @@ const StyledDiv = styled(ClearDiv)`
`) ||
(props.orientation === "vertical" &&
css`
display: block;
display: inline-block;
`)};
width: ${(props) => props.width};

View File

@ -125,25 +125,29 @@ class ProfileActions extends React.PureComponent {
forwardedRef={this.ref}
>
<div style={{ paddingTop: "8px" }}>
{this.props.userActions.map((action) =>
action?.isButton ? (
<StyledButtonWrapper key={action.key}>
<Button
size={"small"}
scale={true}
label={action.label}
onClick={action.onClick}
/>
</StyledButtonWrapper>
{this.props.userActions.map((action, index) =>
action ? (
action?.isButton ? (
<StyledButtonWrapper key={action.key}>
<Button
size={"small"}
scale={true}
label={action.label}
onClick={action.onClick}
/>
</StyledButtonWrapper>
) : (
<Link
noHover={true}
key={action.key}
href={action.url}
onClick={this.onClickItemLink}
>
<DropDownItem {...action} />
</Link>
)
) : (
<Link
noHover={true}
key={action.key}
href={action.url}
onClick={this.onClickItemLink}
>
<DropDownItem {...action} />
</Link>
<React.Fragment key="index"></React.Fragment>
)
)}
</div>

View File

@ -14,6 +14,10 @@ import { inject, observer } from "mobx-react";
import { Base } from "@appserver/components/themes";
const RootContainer = styled(Box)`
.title-description-container {
max-width: 700px;
}
@media ${tablet} {
margin: 0;

View File

@ -26,11 +26,13 @@ const MainContainer = styled.div`
}
.checkboxes {
display: flex;
flex-direction: column;
gap: 8px;
display: inline-block;
margin-top: 18px;
margin-bottom: 24px;
.second-checkbox {
margin: 8px 0;
}
}
`;
@ -220,6 +222,7 @@ const PasswordStrength = (props) => {
value="upperCase"
/>
<Checkbox
className="second-checkbox"
onChange={onClickCheckbox}
label={t("UseDigits")}
isChecked={useDigits}