Small tweaks to multiblock display

This commit is contained in:
Andrew Miner
2015-11-24 23:35:58 -08:00
parent dfe10dae9a
commit aa43e97c6c
3 changed files with 7 additions and 5 deletions
@@ -126,7 +126,9 @@ module.exports = class StackController extends BaseController
@imageLoader.load display.iconUrl, @$image
@$nameLink.html display.itemName
@$nameLink.attr 'href', display.itemUrl
@$quantityField.val @model.quantity
quantityText = if @model.quantity > 1000 then "#{@model.quantity / 1000}k" else "#{@model.quantity}"
@$quantityField.val quantityText
@_updateButtonType @$firstButton, @firstButtonType
@_updateButtonType @$secondButton, @secondButtonType
+3 -3
View File
@@ -7,11 +7,11 @@
.view__multiblock_viewer
.left
h3 Current Layer
.view__inventory.layer
h3 Complete Materials
.view__inventory.complete
h3 Current Layer
.view__inventory.layer
.right
.caption
img
+1 -1
View File
@@ -7,7 +7,7 @@ All rights reserved.
.view__multiblock_viewer {
display: flex;
align-items: flex-start;
align-items: stretch;
h3 {
margin-bottom: 1em;