Skip to content

Commit

Permalink
Merge 825e5e7 into 3a17751
Browse files Browse the repository at this point in the history
  • Loading branch information
Phan-ThanhDat committed Mar 23, 2020
2 parents 3a17751 + 825e5e7 commit adb4810
Show file tree
Hide file tree
Showing 15 changed files with 15 additions and 1 deletion.
7 changes: 7 additions & 0 deletions test/visual/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,13 @@
</vaadin-checkbox-group>
</div>

<div id="theme-vertical-group-tests">
<vaadin-checkbox-group label="Choose a number" theme="vertical">
<vaadin-checkbox value="1">1</vaadin-checkbox>
<vaadin-checkbox value="2">2</vaadin-checkbox>
</vaadin-checkbox-group>
</div>

<div id="disabled-group-tests">
<vaadin-checkbox-group label="Choose a number" disabled>
<vaadin-checkbox value="1">1</vaadin-checkbox>
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions test/visual/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}`)
Expand Down
2 changes: 1 addition & 1 deletion theme/material/vaadin-checkbox-group-styles.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
position: absolute;
}

:host([theme~="vertical"]) {
:host([theme~="vertical"]) [part="group-field"] {
display: flex;
flex-direction: column;
}
Expand Down

0 comments on commit adb4810

Please sign in to comment.