Skip to content

Commit

Permalink
Iteration on "demo version" text. Cleaned up more ES lint warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
DaleMcGrew committed Feb 25, 2016
1 parent 9ff1feb commit efc8466
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 14 deletions.
17 changes: 5 additions & 12 deletions src/js/routes/Guide/PositionList.jsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
import React, { Component, PropTypes } from "react";
import { Button, ButtonToolbar, DropdownButton, Input, MenuItem, Navbar } from "react-bootstrap";
import { Button } from "react-bootstrap";
import { Link } from "react-router";

import BallotActions from "../../actions/BallotActions";
import BallotStore from "../../stores/BallotStore";
import CandidateDetail from "../../components/Ballot/CandidateDetail";
import ItemActionbar from "../../components/ItemActionbar";
import ItemActionBar2 from "../../components/ItemActionBar2";
import StarAction from "../../components/StarAction";

/* VISUAL DESIGN HERE: https://projects.invisionapp.com/share/2R41VR3XW#/screens/94226088 */
Expand All @@ -18,17 +13,16 @@ export default class GuidePositionList extends Component {
//support_on: PropTypes.boolean
};

constructor(props) {
super(props);
constructor (props) {
super (props);
}

render() {
var floatRight = {
float: "right"
};

return (
<div>
return <div>
<div className="container-fluid well well-90">
<ul className="list-group">
<li className="list-group-item">
Expand Down Expand Up @@ -67,7 +61,6 @@ export default class GuidePositionList extends Component {
</ul>
</div>
{/*<CopyLinkNavigation button_text={"Copy Link to Voter Guide"} />*/}
</div>
);
</div>;
}
}
2 changes: 1 addition & 1 deletion src/js/routes/Settings/Location.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export default class Location extends Component {
<br />
<br />
<div className="medium">
See We Vote in action! Copy this test address into "My Ballot Location":
See We Vote in action! Copy and paste this address above:
</div>
<h4>
2208 Ebb Tide Rd, Virginia Beach, VA 23451
Expand Down
12 changes: 11 additions & 1 deletion src/sass/layout/_header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,17 @@
text-align: center;
text-overflow: ellipsis;
white-space: nowrap;
width: 50%;
width: 30%;
}
}

.header {
&-version {
color: rgba(171,171,171, 1);
font-size: 0.7em;
font-weight: 200;
overflow: hidden;
white-space: nowrap;
}
}

Expand Down

0 comments on commit efc8466

Please sign in to comment.