Преглед изворни кода

Bugfix: spreadbehaviour problem fixed on DateTimePicker.

lfabl пре 2 недеља
родитељ
комит
811e8137c5
1 измењених фајлова са 2 додато и 0 уклоњено
  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%";
     }