mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-14 07:52:15 +00:00
Merge pull request #3605 from yafinee/etheral_surge
#3534 - Rewards: Broken layout when the text is too long.
This commit is contained in:
commit
ce5d83d5a1
2 changed files with 6 additions and 3 deletions
|
|
@ -40,6 +40,9 @@
|
|||
.rewards .task-text
|
||||
padding-left: 5em
|
||||
|
||||
.rewards .reward-img
|
||||
margin-left: 5em
|
||||
|
||||
.rewards .task-options
|
||||
background: white
|
||||
|
||||
|
|
|
|||
|
|
@ -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}}
|
||||
|
|
|
|||
Loading…
Reference in a new issue