Skip to content

Commit

Permalink
Merge pull request #9888 from kaiiiiiiiii/remove_hardcoded_max_width_…
Browse files Browse the repository at this point in the history
…from_save_changes_button_in_user_account_ui

[FIX] Misplaced "Save Changes" button in user account panel
  • Loading branch information
rodrigok committed Feb 26, 2018
2 parents ae01b66 + 77facae commit df8ec68
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template name="accountPreferences">
<section class="page-container page-home page-static">
{{#header sectionName="Preferences" buttons=true}}
<div class="rc-header__section-button" style="max-width: 649px;">
<div class="rc-header__section-button">
<button class="rc-button rc-button--primary save"><span>{{_ "Save_changes"}}</span></button>
</div>
{{/header}}
Expand Down
2 changes: 1 addition & 1 deletion packages/rocketchat-ui-account/client/accountProfile.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<template name="accountProfile">
<section class="preferences-page">
{{#header sectionName="Profile" buttons=true}}
<div class="rc-header__section-button" style="max-width: 649px;">
<div class="rc-header__section-button">
<button class="rc-button rc-button--primary" name="send" type="submit" data-button="create" form="profile" {{canSave 'disabled'}}>{{_ "Save_changes"}}</button>
</div>
{{/header}}
Expand Down

0 comments on commit df8ec68

Please sign in to comment.