Skip to content

Commit 4cedfff

Browse files
jpbedepiitaya
andauthored
Let text scroll in markdown card (#27250)
* Let text overflow in markdown card * Update src/panels/lovelace/cards/hui-markdown-card.ts Co-authored-by: Paul Bottein <[email protected]> --------- Co-authored-by: Paul Bottein <[email protected]>
1 parent 1e1514e commit 4cedfff

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/panels/lovelace/cards/hui-markdown-card.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,7 @@ export class HuiMarkdownCard extends LitElement implements LovelaceCard {
231231
static styles = css`
232232
ha-card {
233233
height: 100%;
234+
overflow-y: auto;
234235
}
235236
ha-alert {
236237
margin-bottom: 8px;

0 commit comments

Comments
 (0)