XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet

SpaceNinjaServer

A simple server for a small space ninja game

公开
关注 0 Fork 1 Star 0
返回提交历史

XFEstudio/SpaceNinjaServer

fix(webui): disable text wrapping for action column

7bb857a1
Sainan <sainan@calamity.inc>
提交于

代码差异

1 个文件 +5 -5
Modified static/webui/script.js +5 -5
@@ -234,7 +234,7 @@ function updateInventory() {
234 234 }
235 235 {
236 236 const td = document.createElement("td");
237 td.classList = "text-end";
237 td.classList = "text-end text-nowrap";
238 238 const maxXP =
239 239 category == "Suits" ||
240 240 category == "SpaceSuits" ||
@@ -334,7 +334,7 @@ function updateInventory() {
334 334 }
335 335 {
336 336 const td = document.createElement("td");
337 td.classList = "text-end";
337 td.classList = "text-end text-nowrap";
338 338 {
339 339 const a = document.createElement("a");
340 340 a.href =
@@ -379,7 +379,7 @@ function updateInventory() {
379 379 }
380 380 {
381 381 const td = document.createElement("td");
382 td.classList = "text-end";
382 td.classList = "text-end text-nowrap";
383 383 if (rank < maxRank) {
384 384 const a = document.createElement("a");
385 385 a.href = "#";
@@ -421,7 +421,7 @@ function updateInventory() {
421 421 }
422 422 {
423 423 const td = document.createElement("td");
424 td.classList = "text-end";
424 td.classList = "text-end text-nowrap";
425 425 {
426 426 const a = document.createElement("a");
427 427 a.href = "#";
@@ -481,7 +481,7 @@ function updateInventory() {
481 481 }
482 482 {
483 483 const td = document.createElement("td");
484 td.classList = "text-end";
484 td.classList = "text-end text-nowrap";
485 485 {
486 486 const a = document.createElement("a");
487 487 a.href = "#";