refactor(bs3): add fixed height modals & panels

This commit is contained in:
Matteo Pagliazzi 2014-02-09 16:25:10 +01:00
parent 1a44c3cf0c
commit 3f28d16478
3 changed files with 6 additions and 5 deletions

View file

@ -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

View file

@ -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')

View file

@ -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