[fix] UI layout of hacknet nodes no longer overflows player info

This commit is contained in:
Steven Evans
2018-06-05 23:49:06 -04:00
parent 720478377f
commit 2cbc728baf
2 changed files with 13 additions and 4 deletions
+11 -2
View File
@@ -299,6 +299,11 @@
white-space: nowrap;
}
#hacknet-nodes-list {
list-style: none;
width: 82vw;
}
#hacknet-nodes-money {
margin: 10px;
float: left;
@@ -306,7 +311,7 @@
#hacknet-nodes-money-multipliers-div {
display: inline-block;
width: 80%;
width: 70vw;
}
#hacknet-nodes-multipliers {
@@ -320,7 +325,7 @@
.hacknet-node {
margin: 6px;
padding: 6px;
width: 40%;
width: 34vw;
border: 2px solid var(--my-highlight-color);
-webkit-box-shadow:
inset 0 0 8px rgba(0,0,0,0.1),
@@ -353,6 +358,10 @@
width: 48px; /* Four times font-size */
}
.menu-page-text {
width: 70vw;
}
/* World */
#world-container {
position: fixed;