Skip to content

Commit

Permalink
Fix height problem for non-section view
Browse files Browse the repository at this point in the history
  • Loading branch information
MrBearPresident committed Dec 10, 2024
1 parent 8f8e878 commit 2d5be41
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/cards/button/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ export default `
.large .bubble-button-card-container {
height: calc( var(--row-height) * var(--row-size) + var(--row-gap) * ( var(--row-size) - 1 ));
height: calc( var(--row-height,56px) * var(--row-size,1) + var(--row-gap,8px) * ( var(--row-size,1) - 1 ));
border-radius: var(--bubble-button-border-radius, var(--bubble-border-radius, 32px));
}
Expand Down
2 changes: 1 addition & 1 deletion src/cards/climate/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ export default `
}
.large .bubble-climate-container {
height: calc( var(--row-height) * var(--row-size) + var(--row-gap) * (var(--row-size) - 1 ));
height: calc( var(--row-height,56px) * var(--row-size,1) + var(--row-gap,8px) * ( var(--row-size,1) - 1 ));
border-radius: var(--bubble-select-border-radius, var(--bubble-border-radius, 32px));
}
Expand Down
2 changes: 1 addition & 1 deletion src/cards/cover/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export default `
}
.large .bubble-cover-card-container {
height: calc( var(--row-height) * var(--row-size) + var(--row-gap) * ( var(--row-size) - 1 ));
height: calc( var(--row-height,56px) * var(--row-size,1) + var(--row-gap,8px) * ( var(--row-size,1) - 1 ));
background: var(--bubble-cover-main-background-color, var(--bubble-main-background-color, var(--background-color-2, var(--secondary-background-color))));
border-radius: var(--bubble-cover-border-radius, var(--bubble-border-radius, 32px));
Expand Down
2 changes: 1 addition & 1 deletion src/cards/media-player/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ export default `
.large .bubble-media-player-container{
display: flex;
height: calc( var(--row-height) * var(--row-size) + var(--row-gap) * ( var(--row-size) - 1 ));
height: calc( var(--row-height,56px) * var(--row-size,1) + var(--row-gap,8px) * ( var(--row-size,1) - 1 ));
}
.large .bubble-media-player{
Expand Down
2 changes: 1 addition & 1 deletion src/cards/pop-up/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ export default `
margin-left: 8px;
}
.large .bubble-close-button {
height: calc( var(--row-height) * var(--row-size) + var(--row-gap) * ( var(--row-size) - 1 ));
height: calc( var(--row-height,56px) * var(--row-size,1) + var(--row-gap,8px) * ( var(--row-size,1) - 1 ));
width: 56px;
border: none;
border-radius: var(--bubble-pop-up-border-radius, var(--bubble-border-radius, 42px));
Expand Down
2 changes: 1 addition & 1 deletion src/cards/select/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ export default `
.large .bubble-select-card-container {
height: calc( var(--row-height) * var(--row-size) + var(--row-gap) * ( var(--row-size) - 1 ));
height: calc( var(--row-height,56px) * var(--row-size,1) + var(--row-gap,8px) * ( var(--row-size,1) - 1 ));
border-radius: var(--bubble-select-border-radius, var(--bubble-border-radius, 32px));
}
Expand Down
2 changes: 1 addition & 1 deletion src/cards/separator/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export default `
}
.large .bubble-separator {
height: calc( var(--row-height) * var(--row-size) + var(--row-gap) * ( var(--row-size) - 1 ));
height: calc( var(--row-height,56px) * var(--row-size,1) + var(--row-gap,8px) * ( var(--row-size,1) - 1 ));
}
.rows-2 .bubble-sub-button-container {
Expand Down

0 comments on commit 2d5be41

Please sign in to comment.