File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,8 @@ const ErrorMessage = ({
36
36
</ div >
37
37
) ;
38
38
39
- const WIDTH = 180 ;
39
+ const WIDTH = "50%" ;
40
+ const MAX_WIDTH = 180 ;
40
41
const HEIGHT = 70 ;
41
42
42
43
function SubscribeSection ( ) {
@@ -205,12 +206,12 @@ export const Form = ({ fireInput }: { fireInput?: () => void }) => {
205
206
placeholder = "Your email address..."
206
207
disabled = { formState === STATES . LOADING || formState === STATES . SUCCESS }
207
208
onChange = { onChange }
208
- style = { { maxWidth : WIDTH , minHeight : HEIGHT } }
209
+ style = { { width : WIDTH , maxWidth : MAX_WIDTH , minHeight : HEIGHT , textOverflow : "ellipsis" } }
209
210
/>
210
211
< button
211
212
aria-label = "Subscribe"
212
213
className = { clsx (
213
- "trans flex-shrink-0 rounded-r-full bg-center bg-no-repeat px-11 py-6 text-16 font-bold uppercase leading-none transition-colors duration-200 xl:py-4 md:px-5 md:py-3 sm:px-5 sm:py-3 " ,
214
+ "trans flex-shrink-0 rounded-r-full bg-center bg-no-repeat text-16 font-bold uppercase leading-none transition-colors duration-200" ,
214
215
{
215
216
"bg-[length:40px_40px] xl:bg-[length:28px_28px]" :
216
217
formState === STATES . LOADING ,
@@ -221,7 +222,7 @@ export const Form = ({ fireInput }: { fireInput?: () => void }) => {
221
222
} ,
222
223
) }
223
224
type = "submit"
224
- style = { { width : WIDTH , minHeight : HEIGHT } }
225
+ style = { { width : WIDTH , maxWidth : MAX_WIDTH , minHeight : HEIGHT } }
225
226
>
226
227
< span
227
228
className = { clsx ( {
You can’t perform that action at this time.
0 commit comments