Commit Graph

2543 Commits

Author SHA1 Message Date
Christopher Chedeau
5a653ef94b padding and stretch 2014-04-16 13:21:30 -07:00
Christopher Chedeau
04fefdb87a cross padding and margin 2014-04-16 13:15:00 -07:00
Christopher Chedeau
d6abb5d51f make node the first argument of getPadding/getMargin 2014-04-16 12:51:55 -07:00
Christopher Chedeau
d607b8bb7a padding with a child 2014-04-16 12:49:31 -07:00
Christopher Chedeau
36d6108e8d it should apply padding on the node itself 2014-04-15 18:24:37 -07:00
Christopher Chedeau
9db106a71c setup automated testing for padding 2014-04-15 18:04:11 -07:00
Christopher Chedeau
930c4dc700 fix stretch with margin 2014-04-15 17:53:38 -07:00
Christopher Chedeau
1a0cce4f42 typo 2014-04-15 16:46:06 -07:00
Christopher Chedeau
e55a6fbf27 Introduce getDimWithMargin helper 2014-04-15 16:44:24 -07:00
Christopher Chedeau
9313d3d11e fix edge case of flex: 1 2014-04-15 16:39:42 -07:00
Christopher Chedeau
8ebd69437a update test indent in order to make it easier to read, write and more consistent 2014-04-14 18:38:46 -07:00
Christopher Chedeau
d9e9d95892 auto-test alignSelf 2014-04-14 17:50:55 -07:00
Christopher Chedeau
bded2b7fe2 layout correctly alignItems with margin 2014-04-14 14:02:04 -07:00
Christopher Chedeau
a35d4c2216 Remove tests for negative margin for now 2014-04-14 13:40:05 -07:00
Christopher Chedeau
d65d15cc41 layout flex-end should take into account margin 2014-04-14 12:00:16 -07:00
Christopher Chedeau
57dd9e3e28 Fix NaN value with just justifyContent: 'center' 2014-04-14 10:57:16 -07:00
Christopher Chedeau
73346dd1ef Don't go negative in height 2014-04-14 10:32:57 -07:00
Christopher Chedeau
ed1a9f475c don't shrink children 2014-04-14 10:29:04 -07:00
Christopher Chedeau
b9356e5d85 Write the CSS serially in order to remove async loading 2014-04-14 10:15:37 -07:00
Christopher Chedeau
d0d8cd0bcf fix DOM layout for more than 2 nested nodes 2014-04-10 09:40:57 -07:00
Christopher Chedeau
1b79c9c215 Margin should affect parent dimensions 2014-04-10 09:29:06 -07:00
Christopher Chedeau
1452aa7e7b random testing 2014-04-09 21:02:16 -07:00
Christopher Chedeau
d6e1efdb41 empty node 2014-04-09 19:40:17 -07:00
Christopher Chedeau
0dcb7080ff alignItem: stretch 2014-04-09 19:15:46 -07:00
Christopher Chedeau
e2e49caf86 getFlexDirection function 2014-04-06 21:49:09 -07:00
Christopher Chedeau
5c98e1c3cc alignItems and alignSelf, flex-start/end and center 2014-04-06 21:34:41 -07:00
Christopher Chedeau
a91915d8d2 flex > height in case of conflict 2014-04-06 19:23:20 -07:00
Christopher Chedeau
5d8d13b05b Update README.md 2014-04-06 18:43:46 -07:00
Christopher Chedeau
869eeb74f8 Create README.md 2014-04-06 18:41:56 -07:00
Christopher Chedeau
ad30eb7d60 justifyContent 2014-04-06 17:39:30 -07:00
Christopher Chedeau
0b939a2eba targetted margin 2014-04-06 10:19:53 -07:00
Christopher Chedeau
00107c06b9 remove allocations 2014-04-06 09:47:31 -07:00
Christopher Chedeau
6859575797 flex recursively 2014-04-06 09:43:16 -07:00
Christopher Chedeau
93b47ef33a flex support 2014-04-05 22:23:00 -07:00
Christopher Chedeau
34f994ae56 Modify children position instead of passing it from above 2014-04-05 12:33:12 -07:00
Christopher Chedeau
d0ae1ea690 Compute main dimensions from chidren when not defined 2014-04-05 11:41:21 -07:00
Christopher Chedeau
a370fc643b Mutate instead of trying to be functional 2014-04-05 11:25:58 -07:00
Christopher Chedeau
4652d27b97 flexDirection: 'row' 2014-03-31 11:09:33 -07:00
Christopher Chedeau
f9a5eafb1c margin for several children 2014-03-30 20:33:40 -07:00
Christopher Chedeau
f1796048b8 margin 2014-03-30 19:51:14 -07:00
Christopher Chedeau
cce3a4d830 nested children 2014-03-30 19:33:24 -07:00
Christopher Chedeau
8713562160 One level children 2014-03-30 19:18:06 -07:00
Christopher Chedeau
5ea06e888b Initial commit 2014-03-30 17:12:38 -07:00