diff --git a/test/visual/default.html b/test/visual/default.html
index 18b9051..f82fcbd 100644
--- a/test/visual/default.html
+++ b/test/visual/default.html
@@ -41,6 +41,13 @@
+
+
+ 1
+ 2
+
+
+
1
diff --git a/test/visual/screens/vaadin-checkbox/disabled-group-tests-lumo/default/chrome.png b/test/visual/screens/vaadin-checkbox/disabled-group-tests-lumo/default/chrome.png
index a95c40a..5defe1e 100644
Binary files a/test/visual/screens/vaadin-checkbox/disabled-group-tests-lumo/default/chrome.png and b/test/visual/screens/vaadin-checkbox/disabled-group-tests-lumo/default/chrome.png differ
diff --git a/test/visual/screens/vaadin-checkbox/disabled-group-tests-lumo/default/firefox.png b/test/visual/screens/vaadin-checkbox/disabled-group-tests-lumo/default/firefox.png
index cf609b8..2a75244 100644
Binary files a/test/visual/screens/vaadin-checkbox/disabled-group-tests-lumo/default/firefox.png and b/test/visual/screens/vaadin-checkbox/disabled-group-tests-lumo/default/firefox.png differ
diff --git a/test/visual/screens/vaadin-checkbox/focus-tests-lumo/focus/chrome.png b/test/visual/screens/vaadin-checkbox/focus-tests-lumo/focus/chrome.png
index 3e88ee0..0e75b11 100644
Binary files a/test/visual/screens/vaadin-checkbox/focus-tests-lumo/focus/chrome.png and b/test/visual/screens/vaadin-checkbox/focus-tests-lumo/focus/chrome.png differ
diff --git a/test/visual/screens/vaadin-checkbox/focus-tests-lumo/focus/firefox.png b/test/visual/screens/vaadin-checkbox/focus-tests-lumo/focus/firefox.png
index c5344b5..230ca93 100644
Binary files a/test/visual/screens/vaadin-checkbox/focus-tests-lumo/focus/firefox.png and b/test/visual/screens/vaadin-checkbox/focus-tests-lumo/focus/firefox.png differ
diff --git a/test/visual/screens/vaadin-checkbox/theme-vertical-group-tests-lumo/default/chrome.png b/test/visual/screens/vaadin-checkbox/theme-vertical-group-tests-lumo/default/chrome.png
new file mode 100644
index 0000000..250d41b
Binary files /dev/null and b/test/visual/screens/vaadin-checkbox/theme-vertical-group-tests-lumo/default/chrome.png differ
diff --git a/test/visual/screens/vaadin-checkbox/theme-vertical-group-tests-lumo/default/firefox.png b/test/visual/screens/vaadin-checkbox/theme-vertical-group-tests-lumo/default/firefox.png
new file mode 100644
index 0000000..3eeed89
Binary files /dev/null and b/test/visual/screens/vaadin-checkbox/theme-vertical-group-tests-lumo/default/firefox.png differ
diff --git a/test/visual/screens/vaadin-checkbox/theme-vertical-group-tests-material/default/chrome.png b/test/visual/screens/vaadin-checkbox/theme-vertical-group-tests-material/default/chrome.png
new file mode 100644
index 0000000..fe8afab
Binary files /dev/null and b/test/visual/screens/vaadin-checkbox/theme-vertical-group-tests-material/default/chrome.png differ
diff --git a/test/visual/screens/vaadin-checkbox/theme-vertical-group-tests-material/default/firefox.png b/test/visual/screens/vaadin-checkbox/theme-vertical-group-tests-material/default/firefox.png
new file mode 100644
index 0000000..1a5803b
Binary files /dev/null and b/test/visual/screens/vaadin-checkbox/theme-vertical-group-tests-material/default/firefox.png differ
diff --git a/test/visual/screens/vaadin-checkbox/validation-tests-lumo/error/chrome.png b/test/visual/screens/vaadin-checkbox/validation-tests-lumo/error/chrome.png
index 4f2fab4..5bb7fae 100644
Binary files a/test/visual/screens/vaadin-checkbox/validation-tests-lumo/error/chrome.png and b/test/visual/screens/vaadin-checkbox/validation-tests-lumo/error/chrome.png differ
diff --git a/test/visual/screens/vaadin-checkbox/validation-tests-lumo/error/firefox.png b/test/visual/screens/vaadin-checkbox/validation-tests-lumo/error/firefox.png
index d7152d2..800cac1 100644
Binary files a/test/visual/screens/vaadin-checkbox/validation-tests-lumo/error/firefox.png and b/test/visual/screens/vaadin-checkbox/validation-tests-lumo/error/firefox.png differ
diff --git a/test/visual/screens/vaadin-checkbox/wrapping-group-tests-lumo/default/chrome.png b/test/visual/screens/vaadin-checkbox/wrapping-group-tests-lumo/default/chrome.png
index f8b61c2..c8e7590 100644
Binary files a/test/visual/screens/vaadin-checkbox/wrapping-group-tests-lumo/default/chrome.png and b/test/visual/screens/vaadin-checkbox/wrapping-group-tests-lumo/default/chrome.png differ
diff --git a/test/visual/screens/vaadin-checkbox/wrapping-group-tests-lumo/default/firefox.png b/test/visual/screens/vaadin-checkbox/wrapping-group-tests-lumo/default/firefox.png
index 6dfd84d..2620caa 100644
Binary files a/test/visual/screens/vaadin-checkbox/wrapping-group-tests-lumo/default/firefox.png and b/test/visual/screens/vaadin-checkbox/wrapping-group-tests-lumo/default/firefox.png differ
diff --git a/test/visual/test.js b/test/visual/test.js
index 2659483..97a6a0a 100644
--- a/test/visual/test.js
+++ b/test/visual/test.js
@@ -39,6 +39,13 @@ gemini.suite('vaadin-checkbox', function(rootSuite) {
.capture('default');
});
+ gemini.suite(`theme-vertical-group-tests-${theme}`, (suite) => {
+ suite
+ .setUrl(`default.html?theme=${theme}`)
+ .setCaptureElements('#theme-vertical-group-tests')
+ .capture('default');
+ });
+
gemini.suite(`disabled-group-tests-${theme}`, (suite) => {
suite
.setUrl(`default.html?theme=${theme}`)
diff --git a/theme/material/vaadin-checkbox-group-styles.html b/theme/material/vaadin-checkbox-group-styles.html
index 890a274..0079f89 100644
--- a/theme/material/vaadin-checkbox-group-styles.html
+++ b/theme/material/vaadin-checkbox-group-styles.html
@@ -35,7 +35,7 @@
position: absolute;
}
- :host([theme~="vertical"]) {
+ :host([theme~="vertical"]) [part="group-field"] {
display: flex;
flex-direction: column;
}