mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-03-22 10:55:19 -04:00
Fix #3387
This commit is contained in:
parent
f53d46cb90
commit
00bd983590
2 changed files with 5 additions and 2 deletions
app
|
@ -8,6 +8,9 @@
|
|||
|
||||
.histogram-display
|
||||
height: 130px
|
||||
|
||||
svg
|
||||
overflow: visible
|
||||
|
||||
.bar rect
|
||||
fill: steelblue
|
||||
|
|
|
@ -248,12 +248,12 @@ module.exports = class LadderTabView extends CocoView
|
|||
.data([playerScore])
|
||||
.enter().append('g')
|
||||
.attr('class', 'specialbar')
|
||||
.attr('transform', "translate(#{x(playerScore)}, #{y(9001)})")
|
||||
.attr('transform', "translate(#{x(playerScore)}, 0)")
|
||||
|
||||
scorebar.append('rect')
|
||||
.attr('x', 1)
|
||||
.attr('width', 3)
|
||||
.attr('height', height - y(9001))
|
||||
.attr('height', height)
|
||||
rankClass = 'rank-text'
|
||||
if teamName.toLowerCase() is 'ogres' then rankClass = 'rank-text ogres-rank-text'
|
||||
if teamName.toLowerCase() is 'humans' then rankClass = 'rank-text humans-rank-text'
|
||||
|
|
Loading…
Reference in a new issue