Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set layout card back to grid display #106

Merged
merged 1 commit into from
May 26, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/ExpanderCard.svelte
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- eslint-disable-next-line svelte/valid-compile -->

Check warning on line 1 in src/ExpanderCard.svelte

View workflow job for this annotation

GitHub Actions / Build

Parsing error: Unexpected token
<svelte:options tag="tag-name" />

<script lang="ts">
Expand Down Expand Up @@ -26,7 +26,7 @@
'expanded-gap': '0.6em',
'padding': '1em',
'clear': false,
'title': " ",

Check warning on line 29 in src/ExpanderCard.svelte

View workflow job for this annotation

GitHub Actions / Build

Strings must use singlequote
'overlay-margin': '0.0em',
'child-padding': '0.0em',
'button-background': 'transparent',
Expand Down Expand Up @@ -73,7 +73,7 @@

<ha-card
class={`expander-card ${config.clear ? 'clear' : ''}`}
style="--expander-card-display:{config['expander-card-display']}; --gap:{open ? config['expanded-gap'] : config.gap}; --padding:{config.padding}; --expander-card-background:{config['expander-card-background']}"
style="--expander-card-display:{config['title-card'] ? "grid" : config['expander-card-display']}; --gap:{open ? config['expanded-gap'] : config.gap}; --padding:{config.padding}; --expander-card-background:{config['expander-card-background']}"

Check warning on line 76 in src/ExpanderCard.svelte

View workflow job for this annotation

GitHub Actions / Build

This line has a length of 246. Maximum allowed is 140

Check warning on line 76 in src/ExpanderCard.svelte

View workflow job for this annotation

GitHub Actions / Build

Strings must use singlequote
>
{#if config['title-card']}
<div class={`title-card-header${config['title-card-button-overlay'] ? '-overlay' : ''}`}>
Expand Down
Loading