Skip to content

Commit df56aaf

Browse files
Use subtitles for different Item alignments
1 parent d7d7891 commit df56aaf

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

articles/components/flex-layout/index.adoc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,9 @@ include::{root}/src/main/java/com/vaadin/demo/component/flexlayout/FlexLayoutCon
138138

139139
|===
140140

141-
== Item Alignment (along the layout direction)
141+
== Item Alignment
142+
143+
=== Along the Layout Direction
142144

143145
You can control how items are distributed along the main layout direction (horizontally or vertically, depending on the chosen direction) by setting the content justification.
144146
This corresponds to the CSS `justify-content` property.
@@ -176,7 +178,7 @@ include::{root}/src/main/java/com/vaadin/demo/component/flexlayout/FlexLayoutJus
176178
|===
177179

178180

179-
== Item Alignment (across the layout direction)
181+
=== Across the Layout Direction
180182

181183
You can control how items are aligned perpendicular to the layout direction (vertically or horizontally, opposite of the chosen direction) by setting the item alignment. This corresponds to the CSS `align-items` property.
182184

0 commit comments

Comments
 (0)