From d476761f2271b8cc34b0a6080934cc02f2418256 Mon Sep 17 00:00:00 2001 From: esdrasrenan Date: Sat, 6 Dec 2025 23:26:07 -0300 Subject: [PATCH] Improve USB policy filters layout and sizing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Use grid layout with 2 columns for better space usage - Increase filter height to h-9 for better readability - Move "Limpar" button to header row - Add proper padding and spacing đŸ¤– Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- .../admin/devices/usb-policy-control.tsx | 74 ++++++++++--------- 1 file changed, 38 insertions(+), 36 deletions(-) diff --git a/src/components/admin/devices/usb-policy-control.tsx b/src/components/admin/devices/usb-policy-control.tsx index e758ed7..5ab6a23 100644 --- a/src/components/admin/devices/usb-policy-control.tsx +++ b/src/components/admin/devices/usb-policy-control.tsx @@ -385,44 +385,46 @@ export function UsbPolicyControl({ {showHistory && (
{/* Filtros */} -
-
+
+
- Filtros: + Filtros + {hasActiveFilters && ( + + )} +
+
+ + { + setDateFrom(from) + setDateTo(to) + }} + className="h-9" + clearLabel="Limpar" + />
- - { - setDateFrom(from) - setDateTo(to) - }} - className="h-7 text-xs" - clearLabel="Limpar perĂ­odo" - /> - {hasActiveFilters && ( - - )}
{/* Lista de eventos */}