Skip to content

Commit 1ccf702

Browse files
committed
Fix references to moved images
1 parent c53a04a commit 1ccf702

File tree

2 files changed

+21
-21
lines changed

2 files changed

+21
-21
lines changed

notebooks/reference_guides/guide-flex-box.ipynb

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"Since flexbox is a whole module and not a single property, it involves a lot of things including its whole set of properties. Some of them are meant to be set on the container (parent element, known as \"flex container\") whereas the others are meant to be set on the children (known as \"flex items\").\n",
2222
"If regular layout is based on both block and inline flow directions, the flex layout is based on \"flex-flow directions\". Please have a look at this figure from the specification, explaining the main idea behind the flex layout.\n",
2323
"\n",
24-
"![Flexbox](../images/flexbox.png)\n",
24+
"![Flexbox](images/flexbox.png)\n",
2525
"\n",
2626
"Basically, items will be laid out following either the `main axis` (from `main-start` to `main-end`) or the `cross axis` (from `cross-start` to `cross-end`).\n",
2727
"\n",
@@ -34,7 +34,7 @@
3434
"\n",
3535
"### Properties of the parent\n",
3636
"\n",
37-
"![Container](../images/flex-container.svg)\n",
37+
"![Container](images/flex-container.svg)\n",
3838
"\n",
3939
"\n",
4040
"#### display\n",
@@ -48,32 +48,32 @@
4848
"- `flex-direction` (column-reverse | column | row | row-reverse )\n",
4949
"\n",
5050
" This establishes the main-axis, thus defining the direction flex items are placed in the flex container. Flexbox is (aside from optional wrapping) a single-direction layout concept. Think of flex items as primarily laying out either in horizontal rows or vertical columns.\n",
51-
"![Direction](../images/flex-direction1.svg)\n",
51+
"![Direction](images/flex-direction1.svg)\n",
5252
"\n",
5353
"- `flex-wrap` (nowrap | wrap | wrap-reverse)\n",
5454
"\n",
5555
" By default, flex items will all try to fit onto one line. You can change that and allow the items to wrap as needed with this property. Direction also plays a role here, determining the direction new lines are stacked in.\n",
56-
"![Wrap](../images/flex-wrap.svg)\n",
56+
"![Wrap](images/flex-wrap.svg)\n",
5757
"\n",
5858
"#### justify-content\n",
5959
"\n",
6060
"`justify-content` can be one of `flex-start`, `flex-end`, `center`, `space-between`, `space-around`. This defines the alignment along the main axis. It helps distribute extra free space left over when either all the flex items on a line are inflexible, or are flexible but have reached their maximum size. It also exerts some control over the alignment of items when they overflow the line.\n",
61-
" ![Justify](../images/justify-content.svg)\n",
61+
" ![Justify](images/justify-content.svg)\n",
6262
"\n",
6363
"#### align-items\n",
6464
"\n",
6565
"`align-items` can be one of `flex-start`, `flex-end`, `center`, `baseline`, `stretch`. This defines the default behaviour for how flex items are laid out along the cross axis on the current line. Think of it as the justify-content version for the cross-axis (perpendicular to the main-axis).\n",
66-
" ![Items](../images/align-items.svg)\n",
66+
" ![Items](images/align-items.svg)\n",
6767
" \n",
6868
"#### align-content\n",
6969
"`align-content` can be one of `flex-start`, `flex-end`, `center`, `baseline`, `stretch`. This aligns a flex container's lines within when there is extra space in the cross-axis, similar to how justify-content aligns individual items within the main-axis.\n",
70-
"![Items](../images/align-content.svg)\n",
70+
"![Items](images/align-content.svg)\n",
7171
"\n",
7272
"**Note**: this property has no effect when there is only one line of flex items.\n",
7373
"\n",
7474
"### Properties of the items\n",
7575
"\n",
76-
"![Item](../images/flex-items.svg)\n",
76+
"![Item](images/flex-items.svg)\n",
7777
"\n",
7878
"The flexbox-related CSS properties of the items have no impact if the parent element is not a flexbox container (i.e. has a `display` attribute equal to `flex` or `inline-flex`).\n",
7979
"\n",
@@ -89,7 +89,7 @@
8989
" This defines the ability for a flex item to grow if necessary. It accepts a unitless value that serves as a proportion. It dictates what amount of the available space inside the flex container the item should take up.\n",
9090
"\n",
9191
" If all items have flex-grow set to 1, the remaining space in the container will be distributed equally to all children. If one of the children a value of 2, the remaining space would take up twice as much space as the others (or it will try to, at least).\n",
92-
" ![Grow](../images/flex-grow.svg)\n",
92+
" ![Grow](images/flex-grow.svg)\n",
9393
"\n",
9494
" - `flex-shrink`\n",
9595
"\n",
@@ -103,7 +103,7 @@
103103
"\n",
104104
"`align-self` allows the default alignment (or the one specified by align-items) to be overridden for individual flex items.\n",
105105
"\n",
106-
"![Align](../images/align-self.svg)\n",
106+
"![Align](images/align-self.svg)\n",
107107
"\n",
108108
"### The VBox and HBox helpers\n",
109109
"\n",

notebooks/reference_guides/guide-grid-box.ipynb

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -54,25 +54,25 @@
5454
"\n",
5555
"The dividing lines that make up the structure of the grid. They can be either vertical (\"column grid lines\") or horizontal (\"row grid lines\") and reside on either side of a row or column. Here the yellow line is an example of a column grid line.\n",
5656
"\n",
57-
"![grid-line](../images/grid-line.png)\n",
57+
"![grid-line](images/grid-line.png)\n",
5858
"\n",
5959
"**Grid Track**\n",
6060
"\n",
6161
"The space between two adjacent grid lines. You can think of them like the columns or rows of the grid. Here's the grid track between the second and third row grid lines.\n",
6262
"\n",
63-
"![grid-track](../images/grid-track.png)\n",
63+
"![grid-track](images/grid-track.png)\n",
6464
"\n",
6565
"**Grid Cell**\n",
6666
"\n",
6767
"The space between two adjacent row and two adjacent column grid lines. It's a single \"unit\" of the grid. Here's the grid cell between row grid lines 1 and 2, and column grid lines 2 and 3.\n",
6868
"\n",
69-
"![grid-cell](../images/grid-cell.png)\n",
69+
"![grid-cell](images/grid-cell.png)\n",
7070
"\n",
7171
"**Grid Area**\n",
7272
"\n",
7373
"The total space surrounded by four grid lines. A grid area may be comprised of any number of grid cells. Here's the grid area between row grid lines 1 and 3, and column grid lines 1 and 3.\n",
7474
"\n",
75-
"![grid-area](../images/grid-area.png)\n",
75+
"![grid-area](images/grid-area.png)\n",
7676
"\n",
7777
"### Properties of the parent\n",
7878
"\n",
@@ -200,7 +200,7 @@
200200
"}\n",
201201
"```\n",
202202
"\n",
203-
"![grid-start-end-a](../images/grid-start-end-a.png)\n",
203+
"![grid-start-end-a](images/grid-start-end-a.png)\n",
204204
"\n",
205205
"```css\n",
206206
".item-b {\n",
@@ -209,7 +209,7 @@
209209
"}\n",
210210
"```\n",
211211
"\n",
212-
"![grid-start-end-b](../images/grid-start-end-b.png)\n",
212+
"![grid-start-end-b](images/grid-start-end-b.png)\n",
213213
"\n",
214214
"If no `grid-column` / `grid-row` is declared, the item will span 1 track by default.\n",
215215
"\n",
@@ -248,7 +248,7 @@
248248
"}\n",
249249
"```\n",
250250
"\n",
251-
"![grid-start-end-d](../images/grid-start-end-d.png)\n",
251+
"![grid-start-end-d](images/grid-start-end-d.png)\n",
252252
"\n",
253253
"**justify-self**\n",
254254
"\n",
@@ -275,31 +275,31 @@
275275
"}\n",
276276
"```\n",
277277
"\n",
278-
"![Example of `justify-self` set to start](../images/grid-justify-self-start.png)\n",
278+
"![Example of `justify-self` set to start](images/grid-justify-self-start.png)\n",
279279
"\n",
280280
"```css\n",
281281
".item-a {\n",
282282
" justify-self: end;\n",
283283
"}\n",
284284
"```\n",
285285
"\n",
286-
"![Example of `justify-self` set to end](../images/grid-justify-self-end.png)\n",
286+
"![Example of `justify-self` set to end](images/grid-justify-self-end.png)\n",
287287
"\n",
288288
"```css\n",
289289
".item-a {\n",
290290
" justify-self: center;\n",
291291
"}\n",
292292
"```\n",
293293
"\n",
294-
"![Example of `justify-self` set to center](../images/grid-justify-self-center.png)\n",
294+
"![Example of `justify-self` set to center](images/grid-justify-self-center.png)\n",
295295
"\n",
296296
"```css\n",
297297
".item-a {\n",
298298
" justify-self: stretch;\n",
299299
"}\n",
300300
"```\n",
301301
"\n",
302-
"![Example of `justify-self` set to stretch](../images/grid-justify-self-stretch.png)\n",
302+
"![Example of `justify-self` set to stretch](images/grid-justify-self-stretch.png)\n",
303303
"\n",
304304
"To set alignment for *all* the items in a grid, this behavior can also be set on the grid container via the `justify-items` property."
305305
]

0 commit comments

Comments
 (0)