Skip to content

Commit

Permalink
Refine style that needs to be merged
Browse files Browse the repository at this point in the history
  • Loading branch information
thatdania committed Jan 18, 2018
1 parent 9aef48f commit 64f48f5
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion client/src/component/PinContent.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export default class PinContent extends Component {
<h1 id="place"> Place: {this.props.pin.place}</h1>
<h5 id="date">Day: {this.props.pin.date}</h5>
<h5 id="activity">{this.props.pin.activity}</h5>
<h5 id="rating">Rating: {this.props.pin.rating}</h5>
<h5 id="ratingg">Rating: {this.props.pin.rating}</h5>
<h2 id="title">Title: {this.props.pin.memory}</h2>
</div>
)
Expand Down
4 changes: 2 additions & 2 deletions client/src/component/form.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ class Form extends Component {
<h4 id="header">Enter your</h4>
<h4 id="h2">Memory</h4>

<input id="place" type="text" name="place" placeholder="Place" onChange={this.handlePlaceChange}></input>
<input id="placing" type="text" name="place" placeholder="Place" onChange={this.handlePlaceChange}></input>
{placeMessage}


Expand All @@ -122,7 +122,7 @@ class Form extends Component {
onChange={(rating) => document.getElementById('rating').innerHTML = rating || 0}
/>
</div>
<h1 id="rating">0</h1>
<h1 id="numberrating">0</h1>
<button className="submit" disabled={Placeresult} onClick={this.postComment} type="submit">Done!</button>
</form>

Expand Down
4 changes: 2 additions & 2 deletions client/src/styles/Formstyling.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
transform: translate(-50%, -50%);
}

#place{
#placing{
width: 180px;
padding: 2px 7px;
font-family: 'Josefin Sans', sans-serif;
Expand Down Expand Up @@ -98,7 +98,7 @@ clip-path: polygon(0% 0%, 0 80%, 100% 79%, 100% 0%);
color: #d75766;
}

#rating {
#numberrating{
position: absolute;
top: 77%;
left: 70%;
Expand Down
10 changes: 5 additions & 5 deletions client/src/styles/pinContent.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,21 +27,21 @@ clip-path: polygon(0% 0%, 0 45%, 100% 45%, 100% 0%);
font-size: 5px;
position: absolute;
top: 90%;
left: 70%;
left: 65%;
}

#title{
position: absolute;
font-family: 'Josefin Sans', sans-serif;
top: 72%;
left: 5%;
left: 3%;
font-size: 20px;
}

#rating{
#ratingg{
position: absolute;
font-family: 'Josefin Sans', sans-serif;
top: 87%;
left: 74%;
font-size: 20px;
top: 88%;
left: 62%;
}
2 changes: 1 addition & 1 deletion client/src/styles/pinPopup.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#delete {
position: absolute;
top: 90%;
left: 25%;
left: 27%;
transform: translate(-50%, -50%);
background-color: #0a398c;
font-family: 'Josefin Sans', sans-serif;
Expand Down

0 comments on commit 64f48f5

Please sign in to comment.