diff --git a/EXE/remui/inventory.rml b/EXE/remui/inventory.rml index 48fe523e..4ca15e28 100644 --- a/EXE/remui/inventory.rml +++ b/EXE/remui/inventory.rml @@ -33,14 +33,15 @@ .inv.empty .txt { margin-left: 40dp; } .inv.held { border-left-color: #f2b13c66; } .inv.held.selected { border-left-color: #f2b13c; } + /* the credits over the list (one line whatever the sum), the hold's bar over the ship model: each has its + column's width instead of sharing the list's */ .holdrow { display: flex; flex-direction: row; margin-bottom: 8dp; } - /* 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 .dstat { margin-left: 0; } .holdrow .sv { font-size: 17dp; white-space: nowrap; } - .holdrow .ht { white-space: nowrap; } + .holdtop { display: flex; flex-direction: row; margin-bottom: 8dp; } + .holdtop .dstat { margin-left: 0; flex: 1 1 0; min-width: 0; } + .holdtop .hbar { flex: 1 1 0; width: auto; min-width: 0; max-width: 460dp; } + .holdtop .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; } @@ -67,7 +68,7 @@