From 5d756a5917e6e478fa2d3f1217586d437b9d760b Mon Sep 17 00:00:00 2001 From: flathack Date: Fri, 6 Nov 2026 22:36:37 +0100 Subject: [PATCH] New REM client: REM-Client 49486db, 64-bit (inventory: the credits stay on one line with eight digits and more - the hold's bar gives way) Co-Authored-By: Claude Fable 5.1 --- EXE/remui/inventory.rml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/EXE/remui/inventory.rml b/EXE/remui/inventory.rml index bfcb1172..48fe523e 100644 --- a/EXE/remui/inventory.rml +++ b/EXE/remui/inventory.rml @@ -34,10 +34,13 @@ .inv.held { border-left-color: #f2b13c66; } .inv.held.selected { border-left-color: #f2b13c; } .holdrow { display: flex; flex-direction: row; margin-bottom: 8dp; } - .holdrow .dstat { margin-left: 0; } - .holdrow .dstat + .dstat { margin-left: 18dp; } - .holdrow .hbar { width: 140dp; } - .holdrow .sv { font-size: 17dp; } + /* the credits keep their width on one line whatever the sum; the hold's bar takes what is left of the + column (up to 140dp) -- with eight digits the row was wider than the column and the "cr" wrapped */ + .holdrow .dstat { margin-left: 0; flex-shrink: 0; } + .holdrow .dstat + .dstat { margin-left: 18dp; flex: 1 1 0; min-width: 0; } + .holdrow .hbar { flex: 1 1 0; width: auto; min-width: 0; max-width: 140dp; } + .holdrow .sv { font-size: 17dp; white-space: nowrap; } + .holdrow .ht { white-space: nowrap; } .jet .btn { margin: 0; } /* the picked piece's figures (rem_ui_stats), two to a row */ .figs { display: flex; flex-direction: row; flex-wrap: wrap; margin-bottom: 8dp; padding: 6dp 10dp; background-color: #5cc8f008; }