dmencu 0.8.28 → 0.8.29

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -53,7 +53,7 @@ import {
53
53
  Dialog, DialogActions, DialogContent, DialogContentText,
54
54
  DialogTitle, Divider, Fab, IconButton,
55
55
  Menu, MenuItem, Paper, Popover,
56
- Table, TableBody, TableCell, TableHead, TableRow, Toolbar
56
+ Table, TableBody, TableCell, TableHead, TableRow, Toolbar, CssBaselineProps
57
57
  } from "@material-ui/core";
58
58
  import { EstadoVariable, FormStructureState } from "row-validator";
59
59
  import { CSSProperties } from "@material-ui/core/styles/withStyles";
@@ -723,12 +723,19 @@ function PreguntaDespliegue(props:{
723
723
  direct:true,
724
724
  fun: registradorDeVariable(pregunta)
725
725
  })
726
+ var style: CSSProperties = {}
727
+ if(pregunta.despliegue == 'grid'){
728
+ style.display = 'grid';
729
+ style.gridTemplateColumns = 'repeat(3,1fr)';
730
+ }
726
731
  return <DesplegarCasillero
727
732
  id={id}
728
733
  casillero={pregunta}
734
+ style={style}
729
735
  nuestro-tipovar={pregunta.tipovar||"multiple"}
730
736
  ocultar-salteada={pregunta.despliegueOculta?(pregunta.expresion_habilitar_js?'INHABILITAR':'SI'):'NO'}
731
737
  despliegueEncabezado={props.despliegueEncabezado}
738
+
732
739
  >
733
740
  <EncabezadoDespliegue
734
741
  casillero={pregunta}