Skip to content

Commit 723295d

Browse files
committed
update bubble card popup styles example
1 parent ffa076b commit 723295d

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -146,14 +146,13 @@ cards:
146146
show_header: false
147147
styles: |-
148148
#root {
149-
/* Optional, best for pop-ups with no scroll */
150-
height: fit-content !important;
149+
height: unset !important;
150+
max-height: 100% !important
151151
}
152152
.bubble-pop-up-container {
153-
/* Only recommended if using ha-card elements instead of Bubble Card elements */
153+
/* Removing side padding if using ha-card elements instead of Bubble Card elements */
154154
padding-left: 0 !important;
155155
padding-right: 0 !important;
156-
/* Optional, use with height: fit-content above to fix display issues */
157156
padding-bottom: 64px !important;
158157
}
159158
- type: custom:bubble-card

0 commit comments

Comments
 (0)