Responsividade no celular: listas em cartões (v1.36.1)#48
Merged
Conversation
Tabelas de itens viram cartões empilhados em telas ≤576px (sem rolagem horizontal), via classe .sc-stack + data-label e um único bloco @media; desktop inalterado. Toolbars e barras de ação quebram em linha (flex-wrap), cartões de login/2FA passam a max-width com margem lateral, e toasts/alertas ganham teto de largura na viewport. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Contexto
A base já é mobile-first (Bootstrap 5.3, navbar colapsável, formulários em grid), mas as listas eram tabelas largas que rolavam na horizontal no celular, e algumas barras de ação/cabeçalho estouravam a tela. Esta PR resolve isso. Só markup/CSS — o desktop não muda.
Mudanças
.sc-stack+data-label+ um único bloco@media): Spools, Filamentos, Fila de Etiquetas, Estoque Baixo, Relatórios por Material/Local, Histórico de Pesagens, Carretéis Vazios, Busca, Usuários, Backups e os históricos nos detalhes. Sem rolagem horizontal;<thead>ocultado no celular.flex-wrap) em vez de espremer/transbordar.width:360px→max-width:360pxcom margem lateral.max-width:calc(100vw - 2rem)para não vazar a viewport.Escopo / segurança
main— não contém a feature da balança (que segue isolada emfeat/balanca-web-flash)._()).Teste
pytest: 150 passando localmente.🤖 Generated with Claude Code