Skip to content

Commit 5269c8f

Browse files
committed
More sm/md
1 parent 7a00d96 commit 5269c8f

13 files changed

Lines changed: 19 additions & 19 deletions

File tree

apps/web/src/components/structures/auth/ForgotPassword.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ export default class ForgotPassword extends React.Component<Props, State> {
419419
</StyledCheckbox>
420420
</div>
421421
{this.state.errorText && <ErrorMessage message={this.state.errorText} />}
422-
<Button type="submit" className="mx_Login_submit" size="sm">
422+
<Button type="submit" className="mx_Login_submit" size="md">
423423
{submitButtonChild}
424424
</Button>
425425
</fieldset>
@@ -434,7 +434,7 @@ export default class ForgotPassword extends React.Component<Props, State> {
434434
<CheckIcon className="mx_Icon mx_Icon_32 mx_Icon_accent" />
435435
<h1>{_t("auth|reset_password|reset_successful")}</h1>
436436
{this.state.logoutDevices ? <p>{_t("auth|reset_password|devices_logout_success")}</p> : null}
437-
<Button className="mx_Login_submit" size="sm" type="button" onClick={this.props.onComplete}>
437+
<Button className="mx_Login_submit" size="md" type="button" onClick={this.props.onComplete}>
438438
{_t("auth|reset_password|return_to_login")}
439439
</Button>
440440
</>

apps/web/src/components/structures/auth/Login.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ class LoginComponent extends React.PureComponent<IProps, IState> {
441441
<Button
442442
className="mx_Login_fullWidthButton"
443443
kind="primary"
444-
size="sm"
444+
size="md"
445445
onClick={async () => {
446446
await startOidcLogin(
447447
this.props.serverConfig.delegatedAuthentication!,

apps/web/src/components/views/auth/PasswordLogin.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ export default class PasswordLogin extends React.PureComponent<IProps, IState> {
434434
/>
435435
{forgotPasswordJsx}
436436
{!this.props.busy && (
437-
<Button className="mx_Login_submit" size="sm" type="submit" disabled={this.props.disableSubmit}>
437+
<Button className="mx_Login_submit" size="md" type="submit" disabled={this.props.disableSubmit}>
438438
{_t("action|sign_in")}
439439
</Button>
440440
)}

apps/web/src/components/views/elements/BugReportDialogButton.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export function BugReportDialogButton({
3434
return null;
3535
}
3636
return (
37-
<Button kind="secondary" size="sm" onClick={onClick}>
37+
<Button kind="secondary" size="md" onClick={onClick}>
3838
{bugReportUrl === BugReportEndpointURLLocal
3939
? _t("bug_reporting|download_logs")
4040
: _t("bug_reporting|submit_debug_logs")}

apps/web/src/components/views/elements/SSOButtons.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ const SSOButton: React.FC<ISSOButtonProps> = ({
135135
}
136136

137137
return (
138-
<Button {...commonProps} size="sm">
138+
<Button {...commonProps} size="md">
139139
{icon}
140140
{label}
141141
</Button>

apps/web/src/components/views/right_panel/ExtensionsCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ const ExtensionsCard: React.FC<Props> = ({ room, onClose }) => {
191191
return (
192192
<BaseCard header={_t("right_panel|extensions_button")} className="mx_ExtensionsCard" onClose={onClose}>
193193
{shouldShowComponent(UIComponent.AddIntegrations) && (
194-
<Button size="sm" onClick={onManageIntegrations} kind="secondary" Icon={PlusIcon}>
194+
<Button size="md" onClick={onManageIntegrations} kind="secondary" Icon={PlusIcon}>
195195
{_t("right_panel|add_integrations")}
196196
</Button>
197197
)}

apps/web/src/components/views/rooms/MemberList/MemberListHeaderView.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ const InviteButton: React.FC<Props> = ({ vm }) => {
4747
className="mx_MemberListHeaderView_invite_small"
4848
kind="secondary"
4949
onClick={vm.onInviteButtonClick}
50-
size="sm"
50+
size="md"
5151
iconOnly={true}
5252
Icon={InviteIcon}
5353
disabled={disabled}
@@ -63,7 +63,7 @@ const InviteButton: React.FC<Props> = ({ vm }) => {
6363
<InviteTooltip canInvite={vm.canInvite}>
6464
<Button
6565
kind="secondary"
66-
size="sm"
66+
size="md"
6767
Icon={UserAddIcon}
6868
className="mx_MemberListHeaderView_invite_large"
6969
disabled={!vm.canInvite}

apps/web/src/components/views/rooms/RoomHeader/RoomHeader.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ function RoomHeaderButtons({
117117
}
118118
>
119119
<Button
120-
size="sm"
120+
size="md"
121121
onClick={videoClick}
122122
// If we know this is a voice session, show the voice call. All other kinds of call are video calls.
123123
Icon={activeCallSessionType === CallType.Voice ? VoiceCallIcon : VideoCallIcon}

apps/web/src/components/views/rooms/UserIdentityWarning.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ function warningBanner(
122122
<div className="mx_UserIdentityWarning_row">
123123
{avatar}
124124
<span className={classNames("mx_UserIdentityWarning_main", { critical: isCritical })}>{title}</span>
125-
<Button kind="secondary" size="sm" onClick={onButtonClick}>
125+
<Button kind="secondary" size="md" onClick={onButtonClick}>
126126
{action}
127127
</Button>
128128
</div>

apps/web/src/components/views/settings/PowerLevelSelector.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ export function PowerLevelSelector({
129129
})}
130130

131131
<Button
132-
size="sm"
132+
size="md"
133133
kind="primary"
134134
// mx_Dialog_nonDialogButton is necessary to avoid the Dialog CSS to override the button style
135135
className="mx_Dialog_nonDialogButton mx_PowerLevelSelector_Button"

0 commit comments

Comments
 (0)