Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
condenser
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hive
condenser
Commits
9ae9dff5
Commit
9ae9dff5
authored
8 years ago
by
Tim
Browse files
Options
Downloads
Patches
Plain Diff
tweak css rules
#173
parent
36594510
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
app/components/elements/Voting.jsx
+2
-2
2 additions, 2 deletions
app/components/elements/Voting.jsx
app/components/elements/Voting.scss
+13
-1
13 additions, 1 deletion
app/components/elements/Voting.scss
with
15 additions
and
3 deletions
app/components/elements/Voting.jsx
+
2
−
2
View file @
9ae9dff5
...
...
@@ -120,11 +120,12 @@ class Voting extends React.Component {
<
a
href
=
"#"
onClick
=
{
this
.
voteDown
}
className
=
"confirm_weight"
title
=
"Flag"
>
<
Icon
size
=
"2x"
name
=
"chevron-down-circle"
/></
a
>
{
myVote
==
null
&&
vesting_shares
>
VOTE_WEIGHT_DROPDOWN_THRESHOLD
&&
<
div
className
=
"clear"
>
<
div
>
<
div
className
=
"weight-display"
>
-
{
weight
/
100
}
%
</
div
>
<
Slider
min
=
{
100
}
max
=
{
10000
}
step
=
{
100
}
value
=
{
weight
}
onChange
=
{
this
.
handleWeightChange
}
/>
</
div
>
}
<
CloseButton
onClick
=
{
()
=>
this
.
setState
({
showWeight
:
false
})
}
/>
<
div
className
=
"clear"
>
<
p
>
{
ABOUT_FLAG
}
</
p
>
<
p
>
...
...
@@ -134,7 +135,6 @@ class Voting extends React.Component {
</
Follow
>
</
p
>
</
div
>
<
CloseButton
onClick
=
{
()
=>
this
.
setState
({
showWeight
:
false
})
}
/>
</
FoundationDropdown
>
// ? Remove negative votes unless full power -1000 (we had downvoting spam)
...
...
This diff is collapsed.
Click to expand it.
app/components/elements/Voting.scss
+
13
−
1
View file @
9ae9dff5
...
...
@@ -147,7 +147,19 @@
.Voting__adjust_weight_down
{
@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
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment