diff --git a/example.md b/example.md
index a4cc534..1a8667a 100644
--- a/example.md
+++ b/example.md
@@ -79,7 +79,7 @@ Note that the `cover` and `section` slides are modified image slides and thus ta
---
layout: column
-content-class: gap-8 px-8 text-1s
+content-class: gap-8 p-8 items-start text-1s
---
# Column
@@ -94,13 +94,13 @@ Each element in the `::content::` slot will be its own column.
By default each column takes an equal amount, but you can change individual columns by applying `col-span-X`.
The CSS grid gets added to `.slot-content`, so you can further style it in your slides to match what you want.
-The default style centers the content of each column vertically and has no gap or padding.
+The default style centers the content of each column horizontally and vertically.
```html
```
@@ -109,7 +109,7 @@ The default style centers the content of each column vertically and has no gap o
@@ -134,13 +134,13 @@ The default style centers the content of each row horizontally and vertically wi
```md
---
layout: row
-content-class: gap-5 px-5 items-start
+content-class: gap-2 px-8 text-center
---
# Title
::content::
-This row layout has a gap between rows, horizontal padding and `align-items: start`.
+This row layout has a gap between rows, horizontal padding and centered text.
```
diff --git a/layouts/cluster.vue b/layouts/cluster.vue
index 2906784..28b9d78 100644
--- a/layouts/cluster.vue
+++ b/layouts/cluster.vue
@@ -9,7 +9,7 @@ const props = defineProps({
-
+
diff --git a/layouts/column.vue b/layouts/column.vue
index 782d955..aea2a24 100644
--- a/layouts/column.vue
+++ b/layouts/column.vue
@@ -7,7 +7,7 @@ const props = defineProps({
-
+
diff --git a/layouts/row.vue b/layouts/row.vue
index de8fef4..e5ca465 100644
--- a/layouts/row.vue
+++ b/layouts/row.vue
@@ -7,7 +7,7 @@ const props = defineProps({
-
+
diff --git a/styles/components.css b/styles/components.css
index 7febb8a..1ef1d4b 100644
--- a/styles/components.css
+++ b/styles/components.css
@@ -90,6 +90,11 @@
grid-template-rows: repeat(auto-fit, minmax(min(var(--row-height, 1rem), 100%), 1fr));
}
+/* Overridable styles */
+:where(.cluster) {
+ place-items: center;
+}
+
/*
* COLUMN
@@ -102,6 +107,11 @@
grid-auto-columns: 1fr;
}
+/* Overridable styles */
+:where(.column) {
+ place-items: center;
+}
+
/*
* PILE
@@ -129,6 +139,11 @@
grid-auto-rows: 1fr;
}
+/* Overridable styles */
+:where(.row) {
+ place-items: center;
+}
+
/*
* STACK