Explorar o código

Bugfix: spreadbehaviour problem fixed on DateTimePicker.

lfabl hai 2 semanas
pai
achega
811e8137c5
Modificáronse 1 ficheiros con 2 adicións e 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%";
     }