Skip to content

Commit

Permalink
buttons again
Browse files Browse the repository at this point in the history
  • Loading branch information
Eileen Chang authored and Eileen Chang committed Oct 16, 2022
1 parent 69c3f7d commit b5a2356
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions frontend/src/components/FriendSearch/FriendSearch.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ function FriendSearch() {
<div className="title">find friends</div>
<div className="search">
<TextField
style={{ width: "30vw", textAlignLast: 'center' }}
style={{ width: "20vw", textAlignLast: 'center' }}
id="outlined-basic"
variant="outlined"
fullWidth
Expand All @@ -106,6 +106,8 @@ function FriendSearch() {
onChange={inputHandler}
/>
{response && <><small style={{ color: 'red' }}>{response}</small><br /></>}<br />

<div>
<Button
style={{ backgroundColor: "rgba(186,209,250)", fontFamily: "DM SANS", textTransform: "lowercase", color: "black", boxShadow: "none", marginRight: "10px", marginBottom: "5px"}}
onClick={handleSubmit}
Expand All @@ -114,12 +116,14 @@ function FriendSearch() {
add friend
</Button>
<Button
style={{ backgroundColor: "rgba(186,209,250)", fontFamily: "DM SANS", textTransform: "lowercase", color: "black", boxShadow: "none", marginRight: "10px", marginBottom: "5px"}}
style={{ backgroundColor: "rgba(255, 242, 134, .7)", fontFamily: "DM SANS", textTransform: "lowercase", color: "black", boxShadow: "none", marginRight: "10px", marginBottom: "5px"}}
onClick={navigateAlarm}
variant="contained"
>
go back
</Button>
</div>

</div>
<p class="title"> current friends</p>
<List style={{ textAlignLast: "center" }}>
Expand Down

0 comments on commit b5a2356

Please sign in to comment.