Bug fix added output padding

This commit is contained in:
GordonDaFreeman 2018-01-22 20:01:24 +01:00
parent 7214e0e390
commit 8bdec23881
3 changed files with 13 additions and 8 deletions

View File

@ -9,8 +9,8 @@
#menubox { #menubox {
height: 100%; height: 100%;
top: 0px; top: 0px;
left : 0px; left: 0px;
position: fixed; position: fixed;
border-left-width: 2px; border-left-width: 2px;
border-color: black; border-color: black;
@ -20,8 +20,8 @@
#crafting { #crafting {
height: 100%; height: 100%;
top: 0px; top: 0px;
left : 320px; left: 320px;
position: fixed; position: fixed;
border-left-width: 2px; border-left-width: 2px;
border-color: black; border-color: black;
@ -30,8 +30,8 @@
#outputbox { #outputbox {
height: 100%; height: 100%;
top: 0px; top: 0px;
left : 640px; left: 640px;
position: fixed; position: fixed;
border-left-width: 2px; border-left-width: 2px;
border-right-width: 2px; border-right-width: 2px;
@ -55,6 +55,10 @@
position: fixed; position: fixed;
} }
#output , #outputfull {
padding-left: 5px;
}
#outputfull { #outputfull {
border-top-width: 2px; border-top-width: 2px;
border-color: black; border-color: black;

View File

@ -66,6 +66,7 @@
</body> </body>
<div id="container"> <div id="container">
<div class="ui-widget" id="bottom-left"> <div class="ui-widget" id="bottom-left">
Release 1.0<br>
Thanks to Pyramidalist and his community<br>&copy; MasterGordon & Thanks to Pyramidalist and his community<br>&copy; MasterGordon &
Ph3nix Ph3nix
</div> </div>

View File

@ -273,13 +273,13 @@ function updateoutput() {
if (allItems[frequieredItems[i]]) { if (allItems[frequieredItems[i]]) {
$("#outputfull").append( $("#outputfull").append(
"<span id=\"" + i "<span id=\"" + i
+ "\" class=\"ui-widget outputitem splitable\">" + "\" class=\"ui-widget notsplitable\">"
+ frequieredCount[i] + "x " + frequieredCount[i] + "x "
+ allItems[requieredItems[i]].name + "</span><br>") + allItems[requieredItems[i]].name + "</span><br>")
} else { } else {
$("#outputfull").append( $("#outputfull").append(
"<span id=\"" + i "<span id=\"" + i
+ "\" class=\"ui-widget outputitem notsplitable\">" + "\" class=\"ui-widget notsplitable\">"
+ frequieredCount[i] + "x " + frequieredItems[i] + frequieredCount[i] + "x " + frequieredItems[i]
+ "</span><br>") + "</span><br>")
} }