From 3f4a8a543e88d53698b14e3a53a764bee6fd1d7b Mon Sep 17 00:00:00 2001 From: Alina Beck Date: Wed, 14 Aug 2019 15:22:08 +0100 Subject: [PATCH] pass numbers as numbers --- src/system/components/layout/Grid/demo.md | 38 ++++++++++++----------- 1 file changed, 20 insertions(+), 18 deletions(-) diff --git a/src/system/components/layout/Grid/demo.md b/src/system/components/layout/Grid/demo.md index fadbf1eb7..9bdbc189f 100644 --- a/src/system/components/layout/Grid/demo.md +++ b/src/system/components/layout/Grid/demo.md @@ -4,7 +4,7 @@ All columns share the space in the grid evenly and grow and shrink dynamically. You can set a minimum width beyond which columns will continue to grow until there is enough space to fit another column of minimum width. (Resize the window to see the effect.) ``` - + same same same @@ -30,8 +30,8 @@ Once the grid is defined a grid item can span several columns and/or rows. You c ``` full width - 2 columns, 6 rows - 8 rows + 2 columns, 6 rows + 8 rows default (1 column, 4 rows) ``` @@ -42,19 +42,19 @@ You can set the height of a row – but this is only recommended in combination Low row height leads to a more fine-grained item height: ``` - - same - same - same + + same + same + same ``` High row height leads to a rougher item height: ``` - - same - same - same + + same + same + same ``` @@ -65,12 +65,14 @@ In a classic masonry layout items usually have the same width but different heig Some items may move slightly out of order to make sure existing rows are filled before creating new ones. ``` - first - second - third - fourth - fifth - sixth - seventh + first + second + third + fourth + fifth + sixth + seventh ``` + +**Hint:** Make sure to pass `numbers` with a colon (shortcut for `v-bind:`) so they are not interpreted as strings. For a more thorough explanation visit [the Vue.js docs](https://vuejs.org/v2/guide/components-props.html#Passing-a-Number).