Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
hive
wallet
Commits
bb951bff
Commit
bb951bff
authored
Apr 05, 2019
by
Efe
Committed by
Jonathan Porta
Jul 26, 2019
Browse files
fix loading flickering
parent
4a696fb9
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/app/components/pages/SteemProposalSystem.jsx
View file @
bb951bff
...
@@ -233,30 +233,28 @@ class SteemProposalSystem extends React.Component {
...
@@ -233,30 +233,28 @@ class SteemProposalSystem extends React.Component {
key
=
{
`proposal-vote-icon-
${
proposal
.
get
(
'
id
'
)}
`
}
key
=
{
`proposal-vote-icon-
${
proposal
.
get
(
'
id
'
)}
`
}
href
=
"javascript:void(0)"
href
=
"javascript:void(0)"
onClick
=
{
()
=>
onClick
=
{
()
=>
!
isVotingInProgress
&&
this
.
onUpdateProposalVotes
(
proposal
,
isVoted
)
this
.
onUpdateProposalVotes
(
proposal
,
isVoted
)
}
}
>
>
{
{
isVotingInProgress
?
(
<
span
className
=
"Voting__button Voting__button-up votingUp"
>
<
Icon
name
=
"empty"
className
=
"upvote"
/>
</
span
>
)
:
(
<
span
<
span
className
=
{
`Voting__button Voting__button-up
${
className
=
{
`Voting__button Voting__button-up
${
isVotingInProgress
!
isVoted
?
'
votingUp
'
?
''
:
isVoted
:
'
Voting__button--upvoted
'
?
'
Voting__button--upvoted
'
:
''
}
`
}
}
`
}
>
>
<
Icon
<
Icon
name
=
{
`
${
name
=
"chevron-up-circle"
isVotingInProgress
?
'
empty
'
:
'
chevron-up-circle
'
}
`
}
className
=
"upvote"
className
=
"upvote"
key
=
{
`vote-icon-
${
value
}
`
}
/>
/>
</
span
>
</
span
>
}
)
}
</
a
>
</
a
>
),
),
isOwner
&&
(
isOwner
&&
(
...
...
src/app/components/pages/SteemProposalSystem.scss
View file @
bb951bff
...
@@ -19,6 +19,10 @@
...
@@ -19,6 +19,10 @@
align-items
:
center
;
align-items
:
center
;
justify-content
:
center
;
justify-content
:
center
;
}
}
.Voting__button-up
{
padding-right
:
0
!
important
;
}
}
}
td
.subject-column
,
td
.subject-column
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment