Fixed scroll bars messing up inventory view.

This commit is contained in:
Nick Winter 2014-09-24 09:38:45 -07:00
parent 1cf41efe24
commit 94838af17f
2 changed files with 5 additions and 4 deletions
app
styles/game-menu
templates/game-menu

View file

@ -34,7 +34,7 @@ $stashWidth: $totalWidth - $equippedWidth - $stashMargin
bottom: 0
//bottom: $selectedAreaHeight + 10
right: 0
overflow: scroll
overflow: hidden
.item-slot-row
//background-color: rgba(35, 112, 124, 0.5)
@ -128,7 +128,7 @@ $stashWidth: $totalWidth - $equippedWidth - $stashMargin
right: 0
top: 0
bottom: 0
overflow: scroll
overflow-y: scroll
border: 2px solid #ccc
padding: 4px
background-color: white

View file

@ -45,6 +45,7 @@
#available-equipment
h4#stash-description
for item in items
.list-group-item(class=item.classes, data-item-id=item.get('original'))
ul.list-group
for item in items
li.list-group-item(class=item.classes, data-item-id=item.get('original'))