diff --git a/frontend/src/lib/components/apps/editor/component/components.ts b/frontend/src/lib/components/apps/editor/component/components.ts
index 9789e85d94..1ce0dc00ba 100644
--- a/frontend/src/lib/components/apps/editor/component/components.ts
+++ b/frontend/src/lib/components/apps/editor/component/components.ts
@@ -231,6 +231,12 @@ export const components: Record
= {
value: false,
fieldType: 'boolean',
onlyStatic: true
+ },
+ fitContent: {
+ type: 'static',
+ value: false,
+ fieldType: 'boolean',
+ onlyStatic: true
}
},
customCss: {
diff --git a/frontend/src/lib/components/apps/editor/inlineScriptsPanel/InlineScriptEditor.svelte b/frontend/src/lib/components/apps/editor/inlineScriptsPanel/InlineScriptEditor.svelte
index b421a0a972..ec3d563000 100644
--- a/frontend/src/lib/components/apps/editor/inlineScriptsPanel/InlineScriptEditor.svelte
+++ b/frontend/src/lib/components/apps/editor/inlineScriptsPanel/InlineScriptEditor.svelte
@@ -131,9 +131,8 @@
Format
-
+
{isMac ? '⌘' : 'CTRL'}
-
S
@@ -154,9 +153,8 @@
Run
-
+
{isMac ? '⌘' : 'CTRL'}
-
diff --git a/frontend/src/lib/components/apps/types.ts b/frontend/src/lib/components/apps/types.ts
index 5e552da3da..21b9410659 100644
--- a/frontend/src/lib/components/apps/types.ts
+++ b/frontend/src/lib/components/apps/types.ts
@@ -43,14 +43,14 @@ export interface BaseAppComponent extends Partial
{
configuration: Record<
string,
GeneralAppInput &
- (
- | StaticAppInput
- | ConnectedAppInput
- | UserAppInput
- | RowAppInput
- | EvalAppInput
- | UploadAppInput
- )
+ (
+ | StaticAppInput
+ | ConnectedAppInput
+ | UserAppInput
+ | RowAppInput
+ | EvalAppInput
+ | UploadAppInput
+ )
>
card: boolean | undefined
customCss?: ComponentCustomCSS