Explorar el Código

Bugfix: spreadbehaviour problem fixed on DateTimePicker.

lfabl hace 2 semanas
padre
commit
811e8137c5
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      src/components/dateTimePicker/stylesheet.ts

+ 2 - 0
src/components/dateTimePicker/stylesheet.ts

@@ -240,7 +240,9 @@ export const useStyles = ({
     }
 
     if (spreadBehaviour === "stretch") {
+        styles.container.alignSelf = spreadBehaviour;
         styles.container.justifyContent = "center";
+        styles.container.flexShrink = 1;
         styles.container.width = "100%";
     }