, Correçoes UX
This commit is contained in:
@@ -584,7 +584,11 @@
|
||||
info.textContent = de + '–' + ate + ' de ' + linhas.length + ' ' + rotulo;
|
||||
abas.querySelectorAll('button').forEach(function (b) {
|
||||
const ativa = Number(b.dataset.pagina) === p;
|
||||
b.className = 'px-3 py-1.5 rounded-lg text-xs font-semibold transition-colors ' +
|
||||
// min-w/min-h 44px: são os alvos de toque mais apertados do sistema
|
||||
// (medidos 63 abaixo de 44px no celular em 28/08/2026) e ficam lado a
|
||||
// lado, então errar o número da página é fácil com o dedo em movimento.
|
||||
b.className = 'min-w-[44px] min-h-[44px] px-3 py-1.5 rounded-lg text-xs font-semibold ' +
|
||||
'inline-flex items-center justify-center transition-colors ' +
|
||||
(ativa ? 'bg-[#f97316] text-white'
|
||||
: 'bg-[#0a0a0a] text-gray-400 border border-white/5 hover:text-white');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user