Skip to content

Commit 784ab9e

Browse files
author
Pavithra K
committed
Adds style for logged out votes
1 parent 5cf0719 commit 784ab9e

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

components/vote/button/button-style.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,10 @@
3838
padding: 0;
3939
margin: 0;
4040
}
41+
42+
&__logout-value {
43+
align-self: center;
44+
font-size: 20pt;
45+
margin: auto;
46+
}
4147
}

components/vote/button/new-button.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export default class NewButton extends Component {
4949
(<span className={className}>{myValue}</span>)
5050
</div>
5151
</div>): (<div className="vote-new-button" style={{color: color}}>
52-
<div className="vote-new-button__value" title={value + " was voted in total by all users."}>
52+
<div className="vote-new-button__logout-value" title={value + " was voted in total by all users."}>
5353
<span className={className}>{value}</span>
5454
</div>
5555
</div>);

0 commit comments

Comments
 (0)