Files
remark42/web/app/components/comment/__vote/comment__vote.scss
T
Andrei AlikovandUmputun 653125d525 Hanlde limiter rejection on UI side (#275)
- Adds common function to get error message from the http response
- Adds error message for the voting displayed under the voting buttons
- Adds restoring of voting data after voting request failed

fixed re-writing error message when user tries to vote for the same comment
2019-02-12 09:35:14 -06:00

20 lines
353 B
SCSS

.comment__vote {
display: inline-block;
width: 16px;
height: 14px;
vertical-align: top;
font-size: 0;
line-height: 0;
background: url('comment__vote.svg') center no-repeat;
background-size: contain;
cursor: pointer;
}
.voting__error {
color: #9a0000;
text-align: right;
font-size: 14px;
line-height: 1;
margin-top: -10px;
}