/** * Role mapping table styles */ /* Limita a largura da tabela e permite scroll horizontal se necessário */ .role-mappings-table { max-width: 100%; table-layout: fixed; } /* Define larguras fixas para cada coluna */ .role-mappings-table th:nth-child(1), .role-mappings-table td:nth-child(1) { width: 20%; min-width: 150px; } .role-mappings-table th:nth-child(2), .role-mappings-table td:nth-child(2) { width: 15%; min-width: 130px; } .role-mappings-table th:nth-child(3), .role-mappings-table td:nth-child(3) { width: 25%; min-width: 180px; } .role-mappings-table th:nth-child(4), .role-mappings-table td:nth-child(4) { width: 30%; min-width: 200px; } .role-mappings-table th:nth-child(5), .role-mappings-table td:nth-child(5) { width: 10%; min-width: 80px; text-align: center; } /* Estilo dos selects para limitar largura e truncar texto */ .role-mapping-field-select { max-width: 100%; width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } /* Estilo para options dentro dos selects - mostra texto completo no dropdown */ .role-mapping-field-select option { white-space: normal; overflow: visible; text-overflow: clip; } /* Estilo do textarea */ .role-mapping-values-textarea { max-width: 100%; width: 100%; min-height: 50px; } /* Responsividade: em telas menores, permite scroll horizontal */ @media (max-width: 1200px) { .role-mappings-table { display: block; overflow-x: auto; white-space: nowrap; } }