From 5b40150c6f29760cc16ef6ab755f81598d512c99 Mon Sep 17 00:00:00 2001 From: Jeroen Claassens Date: Sun, 1 Dec 2024 14:01:17 +0100 Subject: [PATCH] fix: inline field bug in Discord embed (#511) * fix: inline field bug in Discord embed Fixes #509 Fix the issue with the bottom field not spanning across three inline fields in the embed. --- .../src/components/discord-embed-field/DiscordEmbedField.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/components/discord-embed-field/DiscordEmbedField.ts b/packages/core/src/components/discord-embed-field/DiscordEmbedField.ts index 6387cafb2..a2d9f0bf3 100644 --- a/packages/core/src/components/discord-embed-field/DiscordEmbedField.ts +++ b/packages/core/src/components/discord-embed-field/DiscordEmbedField.ts @@ -74,7 +74,7 @@ export class DiscordEmbedField extends LitElement implements LightTheme { * @defaultValue 1 */ @property({ type: Number, reflect: true, attribute: 'inline-index' }) - public accessor inlineIndex = 1; + public accessor inlineIndex: number | undefined = undefined; @consume({ context: messagesLightTheme, subscribe: true }) @property({ type: Boolean, reflect: true, attribute: 'light-theme' })