fixing styles
This commit is contained in:
@@ -47,7 +47,7 @@
|
||||
|
||||
.checkbox-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, 240px); /* ancho fijo por columna */
|
||||
grid-template-columns: repeat(3, 240px);
|
||||
gap: 10px 20px;
|
||||
flex-wrap: wrap;
|
||||
justify-content: start;
|
||||
|
||||
@@ -4,16 +4,6 @@ import axios from "axios";
|
||||
import { useEffect, useState } from "react";
|
||||
import toast from "react-hot-toast";
|
||||
|
||||
interface Equipos {
|
||||
id_equipo: number;
|
||||
id_plataforma: number;
|
||||
id_area_ubicacion: number;
|
||||
nombre_equipo: string;
|
||||
ubicacion: string;
|
||||
activo: boolean;
|
||||
ip: string;
|
||||
}
|
||||
|
||||
interface Programa {
|
||||
id_programa: number;
|
||||
programa: string;
|
||||
@@ -26,8 +16,6 @@ export default function ProgramSelector({
|
||||
ubicacion?: string | null;
|
||||
id?: number | null;
|
||||
}) {
|
||||
const [equipoSelection, setEquipoSelection] = useState<string>("");
|
||||
const [roomSelection, setRoomSelection] = useState<number>();
|
||||
const [programas, setProgramas] = useState<Programa[]>([]);
|
||||
const [checkboxes, setCheckboxes] = useState<Record<number, boolean>>({});
|
||||
|
||||
@@ -159,4 +147,4 @@ export default function ProgramSelector({
|
||||
</form>
|
||||
);
|
||||
}
|
||||
//IO
|
||||
//IO
|
||||
Reference in New Issue
Block a user