Skip to content

Commit

Permalink
Change share dialog button style (#5812)
Browse files Browse the repository at this point in the history
* change share button size

* change submit button loading style
  • Loading branch information
Michael18811380328 authored Dec 5, 2023
1 parent 99a95b4 commit 2ce0f90
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ class CustomPermissionEditor extends React.Component {
<span>{title}</span>
</div>
<div className="operation">
<button type="button" className="btn btn-outline-primary" onClick={this.onUpdateCustomPermission}>{gettext('Submit')}</button>
<button type="button" className="btn btn-sm btn-outline-primary" onClick={this.onUpdateCustomPermission}>{gettext('Submit')}</button>
</div>
</div>
<div className="permission-main mt-4">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class ListCustomPermissions extends React.Component {
<div className="permission-header">
<div className="title">{gettext('Permission')}</div>
<div className="operation">
<button type="button" className="btn btn-outline-primary" onClick={this.props.onAddCustomPermission}>{gettext('Add permission')}</button>
<button type="button" className="btn btn-sm btn-outline-primary" onClick={this.props.onAddCustomPermission}>{gettext('Add permission')}</button>
</div>
</div>
<div className="permission-main mt-4">
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/dialog/share-to-invite-people.js
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ class ShareToInvitePeople extends React.Component {
/>
</td>
<td>
<Button onClick={this.shareAndInvite} disabled={isSubmitting}
<Button onClick={this.shareAndInvite} className="submit-btn" disabled={isSubmitting}
>{isSubmitting ? <Loading /> : gettext('Submit')}</Button>
</td>
</tr>
Expand Down

0 comments on commit 2ce0f90

Please sign in to comment.