mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-05-23 22:27:06 +00:00
refactor(bs3): add fixed height modals & panels
This commit is contained in:
parent
1a44c3cf0c
commit
3f28d16478
3 changed files with 6 additions and 5 deletions
|
|
@ -104,12 +104,13 @@ html, body
|
|||
//move
|
||||
|
||||
.new-stuff-modal // a .modal-body
|
||||
overflow-y: auto
|
||||
max-height: 400px // Taken from Bootstrap 2.3.2 css, may need to change
|
||||
|
||||
h5
|
||||
font-weight: 700
|
||||
|
||||
.modal-fixed-height
|
||||
overflow-y: auto
|
||||
max-height: 400px // Taken from Bootstrap 2.3.2 css, may need to change
|
||||
|
||||
// notification-character used only by death modal's figure, move
|
||||
|
||||
.modal-body
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
h3.panel-title=env.t('challenges')
|
||||
a.pull-right(target='_blank', href='https://trello.com/card/challenges-individual-party-guild-public/50e5d3684fe3a7266b0036d6/58')
|
||||
span.glyphicon.glyphicon-question-sign
|
||||
.panel-body(bindonce='group.challenges')
|
||||
.panel-body.modal-fixed-height(bindonce='group.challenges')
|
||||
div(ng-if='group.challenges.length > 0')
|
||||
table.table.table-striped
|
||||
tr(ng-repeat='challenge in group.challenges')
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ script(type='text/ng-template', id='modals/mathUpdates.html')
|
|||
script(type='text/ng-template', id='modals/newStuff.html')
|
||||
.modal-header
|
||||
h4 New Stuff!
|
||||
.modal-body.new-stuff-modal
|
||||
.modal-body.new-stuff-modal.modal-fixed-height
|
||||
table
|
||||
tr
|
||||
td
|
||||
|
|
|
|||
Loading…
Reference in a new issue