mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #5205] [Issue]: Inventory Tracker drops its chip layout below 300px and stacks one item per row #2877
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#2877
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @augusteo on GitHub (Aug 17, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5205
Originally assigned to: @SpicyMarinara on GitHub.
Summary
Below a 300px panel width the Inventory Tracker abandons its chip layout and stacks one full-width row per item. The pill shape is what makes an inventory entry read as an item rather than a button, and it is exactly the width where vertical space is scarcest.
Expected behavior
Entries stay as content-sized wrapping pills at every panel width, including the 240px minimum the sidebar allows.
Actual behavior
At any container width under 300px the group switches to a single column and each chip stretches to the full row. Twelve items take 505px of vertical space instead of 327px, and the section reads as a list of buttons.
Steps to reproduce
Environment
staging, at3251f2388)Additional context
Introduced deliberately in
ced28787f(#5168, closes #5172). That change's reasoning was that below ~300px a wrapping row fits barely two chips, so the ragged right edge costs more than the wrapping saves. In practice the stacked fallback loses the pill affordance entirely and costs ~35% more vertical space, which is the opposite of what the density work in #5168 set out to do.Template check
@augusteo commented on GitHub (Aug 17, 2026):
Taking this — implementation is up in #5206 (branch
fix/5205-inventory-chip-wrap). Owner: @augusteo.