This repository was archived by the owner on Mar 9, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +19
-13
lines changed
Expand file tree Collapse file tree 1 file changed +19
-13
lines changed Original file line number Diff line number Diff line change 11import React , { Component } from 'react' ;
2- import { Form , Message } from 'semantic-ui-react' ;
2+ import { Form , Message , Grid } from 'semantic-ui-react' ;
33import { baseEventsURL , subscribeURL } from '../utils/urls' ;
44
55class Subscribe extends Component {
@@ -76,18 +76,24 @@ class Subscribe extends Component {
7676 ) : (
7777 < Form onSubmit = { this . handleSubmit } error = { hasError } >
7878 < Form . Group >
79- < Form . Input
80- placeholder = "Enter email address"
81- name = "email"
82- value = { this . state . subscribersEmail }
83- onChange = { this . handleChange }
84- disabled = { this . state . submittingEmail }
85- />
86- < Form . Button
87- loading = { this . state . submittingEmail }
88- color = "pink"
89- content = "Subscribe"
90- />
79+ < Grid stackable columns = { 2 } >
80+ < Grid . Column width = { 12 } >
81+ < Form . Input
82+ placeholder = "Enter email address"
83+ name = "email"
84+ value = { this . state . subscribersEmail }
85+ onChange = { this . handleChange }
86+ disabled = { this . state . submittingEmail }
87+ />
88+ </ Grid . Column >
89+ < Grid . Column width = { 4 } >
90+ < Form . Button
91+ loading = { this . state . submittingEmail }
92+ color = "pink"
93+ content = "Subscribe"
94+ />
95+ </ Grid . Column >
96+ </ Grid >
9197 </ Form . Group >
9298 < Message
9399 error
You can’t perform that action at this time.
0 commit comments