Skip to content

Commit

Permalink
fix: add missing hidden attribute styles to board and board row
Browse files Browse the repository at this point in the history
  • Loading branch information
web-padawan committed Jan 10, 2025
1 parent c1a0952 commit 1f7ec64
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/board/src/vaadin-board-row.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@ class BoardRow extends BoardRowMixin(ElementMixin(PolymerElement)) {
--medium-size: var(--vaadin-board-width-medium, 960px);
}
:host([hidden]) {
display: none !important;
}
:host ::slotted(*) {
box-sizing: border-box;
flex-grow: 1;
Expand Down
4 changes: 4 additions & 0 deletions packages/board/src/vaadin-board.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ class Board extends ElementMixin(PolymerElement) {
:host {
display: block;
}
:host([hidden]) {
display: none !important;
}
</style>
<slot></slot>
`;
Expand Down

0 comments on commit 1f7ec64

Please sign in to comment.