Merge branch 'feature/virtual-rooms-1.2' into feature/interface-theme
This commit is contained in:
commit
d6fcc35703
@ -108,7 +108,6 @@ RadioButtonGroup.defaultProps = {
|
||||
selected: undefined,
|
||||
spacing: "15px",
|
||||
orientation: "horizontal",
|
||||
width: "100%",
|
||||
};
|
||||
|
||||
export default RadioButtonGroup;
|
||||
|
@ -17,7 +17,7 @@ const StyledDiv = styled(ClearDiv)`
|
||||
`) ||
|
||||
(props.orientation === "vertical" &&
|
||||
css`
|
||||
display: block;
|
||||
display: inline-block;
|
||||
`)};
|
||||
|
||||
width: ${(props) => props.width};
|
||||
|
@ -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>
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user