Skip to content

Commit 35283af

Browse files
committed
fixed issue where buttons were visible
1 parent 508eb40 commit 35283af

2 files changed

Lines changed: 25 additions & 27 deletions

File tree

public/index.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,9 @@ button {
119119

120120
.send-recipe-to-user-inbox,
121121
.want-another-recipe {
122-
width: 200px;
122+
width: 170px;
123123
margin: auto;
124+
display: none;
124125
}
125126

126127
.email-section {

public/index.html

Lines changed: 23 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta charset="UTF-8" />
55
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
6-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<meta name="viewport" content="width=device-width" />
77
<link rel="stylesheet" href="index.css" />
88
<title>Recipe For Success</title>
99
<link rel="preconnect" href="https://fonts.googleapis.com" />
@@ -97,37 +97,34 @@ <h1 aria-label="app text" class="headline">
9797
<div id="loading-indicator"></div>
9898
<h3 id="loading-text">Creating Recipe...</h3>
9999
</div>
100-
101-
102100

103101
<!-- <label for="user-email">Enter you email address</label> -->
104102
<button class="try-again-btn">Try again</button>
105103
</main>
106104
<div class="test">
107105
<section
108-
aria-label="gpt-response"
109-
class="gpt-response preserve-line-breaks"
110-
></section>
111-
<button class="want-another-recipe">I want another recipe</button>
112-
<button
113-
class="send-recipe-to-user-inbox"
114-
name="do_we_email_user"
115-
value="false"
116-
>
117-
send recipe to my in
118-
</button>
119-
<section class="email-section">
120-
<input
121-
type="email"
122-
id="user-email"
123-
class=""
124-
name="user_email_address"
125-
placeholder="sophie@example.com"
126-
/>
127-
<i class="fa fa-paper-plane" aria-hidden="true" fa-lg></i>
128-
<!-- <button class="send-email-btn">send</button> -->
129-
</section>
130-
106+
aria-label="gpt-response"
107+
class="gpt-response preserve-line-breaks"
108+
></section>
109+
<button class="want-another-recipe">I want another recipe</button>
110+
<button
111+
class="send-recipe-to-user-inbox"
112+
name="do_we_email_user"
113+
value="false"
114+
>
115+
send recipe to my in
116+
</button>
117+
<section class="email-section">
118+
<input
119+
type="email"
120+
id="user-email"
121+
class=""
122+
name="user_email_address"
123+
placeholder="sophie@example.com"
124+
/>
125+
<i class="fa fa-paper-plane" aria-hidden="true" fa-lg></i>
126+
<!-- <button class="send-email-btn">send</button> -->
127+
</section>
131128
</div>
132129
</div>
133130
<script src="index.js"></script>

0 commit comments

Comments
 (0)