Skip to content

Commit

Permalink
737: (FP-1678) Use "secondary" Button for UserSearchBar (#657)
Browse files Browse the repository at this point in the history
* fix(fp-1678): secondary button for usersearchbar

* fix(fp-1678): button above (z) input usersearchbar
  • Loading branch information
wesleyboar authored Jun 13, 2022
1 parent 25a0cdd commit 0f53533
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ const UserSearchbar = ({
<div className={`input-group ${styles['member-search-group']}`}>
<div className="input-group-prepend">
<Button
type="primary"
type="secondary"
onClick={() =>
onAddCallback({ user: selectedUser, access: 'edit' })
}
Expand Down
3 changes: 3 additions & 0 deletions client/src/styles/components/bootstrap.form.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,6 @@ textarea.form-control {
/* FAQ: Vertical padding reduced by 1px each to near input height of design * 1.2 */
padding: 6px 12px; /* 6px 10px design * 1.2 design-to-app ratio */
}
.input-group-prepend {
z-index: 1; /* so child button border is above sibling input border */
}

0 comments on commit 0f53533

Please sign in to comment.