diff --git a/articles/components/grid/styling.adoc b/articles/components/grid/styling.adoc index 5514805489..9fb8124fe9 100644 --- a/articles/components/grid/styling.adoc +++ b/articles/components/grid/styling.adoc @@ -82,6 +82,15 @@ endif::[] <> can also be used to display content that doesn't fit into the cell. +Wrapped cell content is vertically centered by default. To align it to the top of the row instead, set the `align-items` property on the body cell part: + +[source,css] +---- +vaadin-grid::part(body-cell) { + align-items: start; +} +---- + === No Border