Skip to content
Snippets Groups Projects
Commit 9ae9dff5 authored by Tim's avatar Tim
Browse files

tweak css rules #173

parent 36594510
No related branches found
No related tags found
No related merge requests found
...@@ -120,11 +120,12 @@ class Voting extends React.Component { ...@@ -120,11 +120,12 @@ class Voting extends React.Component {
<a href="#" onClick={this.voteDown} className="confirm_weight" title="Flag"> <a href="#" onClick={this.voteDown} className="confirm_weight" title="Flag">
<Icon size="2x" name="chevron-down-circle" /></a> <Icon size="2x" name="chevron-down-circle" /></a>
{myVote == null && vesting_shares > VOTE_WEIGHT_DROPDOWN_THRESHOLD && {myVote == null && vesting_shares > VOTE_WEIGHT_DROPDOWN_THRESHOLD &&
<div className="clear"> <div>
<div className="weight-display"> - {weight / 100}%</div> <div className="weight-display"> - {weight / 100}%</div>
<Slider min={100} max={10000} step={100} value={weight} onChange={this.handleWeightChange} /> <Slider min={100} max={10000} step={100} value={weight} onChange={this.handleWeightChange} />
</div> </div>
} }
<CloseButton onClick={() => this.setState({showWeight: false})} />
<div className="clear"> <div className="clear">
<p>{ABOUT_FLAG}</p> <p>{ABOUT_FLAG}</p>
<p> <p>
...@@ -134,7 +135,6 @@ class Voting extends React.Component { ...@@ -134,7 +135,6 @@ class Voting extends React.Component {
</Follow> </Follow>
</p> </p>
</div> </div>
<CloseButton onClick={() => this.setState({showWeight: false})} />
</FoundationDropdown> </FoundationDropdown>
// ? Remove negative votes unless full power -1000 (we had downvoting spam) // ? Remove negative votes unless full power -1000 (we had downvoting spam)
......
...@@ -147,7 +147,19 @@ ...@@ -147,7 +147,19 @@
.Voting__adjust_weight_down { .Voting__adjust_weight_down {
@extend .Voting__adjust_weight; @extend .Voting__adjust_weight;
left: -333px;
right: 0;
width: 500px !important;
div.clear {
clear: both;
}
p, span {
white-space: normal !important;
}
.weight-display {
color: #C00 !important;
}
} }
.Voting__adjust_weight { .Voting__adjust_weight {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment