Merge pull request #3605 from yafinee/etheral_surge

#3534 - Rewards: Broken layout when the text is too long.
This commit is contained in:
Tyler Renelle 2014-06-14 18:03:33 -06:00
commit ce5d83d5a1
2 changed files with 6 additions and 3 deletions

View file

@ -40,6 +40,9 @@
.rewards .task-text
padding-left: 5em
.rewards .reward-img
margin-left: 5em
.rewards .task-options
background: white

View file

@ -41,12 +41,12 @@ script(id='templates/habitrpg-tasks.html', type="text/ng-template")
span.task-notes
span.glyphicon.glyphicon-comment
//left-hand size commands
.task-controls
.task-controls.task-primary
a.money.btn-buy.item-btn(ng-click='buy(item)')
span.reward-cost {{item.value}}
span.shop_gold
// main content
span(bo-class='{"shop_{{item.key}} shop-sprite item-img": true}')
span(bo-class='{"shop_{{item.key}} shop-sprite item-img": true}').reward-img
p.task-text {{item.text()}}
// Events
@ -84,7 +84,7 @@ script(id='templates/habitrpg-tasks.html', type="text/ng-template")
span.task-notes
span.glyphicon.glyphicon-comment
//left-hand size commands
.task-controls
.task-controls.task-primary
a.money.btn-buy.item-btn(ng-click='castStart(spell)')
span.reward-cost
strong {{spell.mana}}