diff --git a/packages/console/src/pages/CustomizeJwtDetails/MainContent/ScriptSection/index.module.scss b/packages/console/src/pages/CustomizeJwtDetails/MainContent/ScriptSection/index.module.scss index 963c6162d..84081b6dc 100644 --- a/packages/console/src/pages/CustomizeJwtDetails/MainContent/ScriptSection/index.module.scss +++ b/packages/console/src/pages/CustomizeJwtDetails/MainContent/ScriptSection/index.module.scss @@ -1,12 +1,10 @@ @use '@/scss/underscore' as _; .scriptSection { - position: sticky; - top: 0; + position: relative; min-width: 50%; .fixHeightWrapper { - margin-bottom: _.unit(3); position: absolute; inset: 0; display: flex; diff --git a/packages/console/src/pages/CustomizeJwtDetails/MainContent/SettingsSection/InstructionTab/index.module.scss b/packages/console/src/pages/CustomizeJwtDetails/MainContent/SettingsSection/InstructionTab/index.module.scss index 325ceb4f2..c35187558 100644 --- a/packages/console/src/pages/CustomizeJwtDetails/MainContent/SettingsSection/InstructionTab/index.module.scss +++ b/packages/console/src/pages/CustomizeJwtDetails/MainContent/SettingsSection/InstructionTab/index.module.scss @@ -23,8 +23,3 @@ .envVariablesField { margin-bottom: _.unit(4); } - -.description { - font: var(--font-body-2); - color: var(--color-text-secondary); -} diff --git a/packages/console/src/pages/CustomizeJwtDetails/MainContent/SettingsSection/InstructionTab/index.tsx b/packages/console/src/pages/CustomizeJwtDetails/MainContent/SettingsSection/InstructionTab/index.tsx index 17d228746..feee79af6 100644 --- a/packages/console/src/pages/CustomizeJwtDetails/MainContent/SettingsSection/InstructionTab/index.tsx +++ b/packages/console/src/pages/CustomizeJwtDetails/MainContent/SettingsSection/InstructionTab/index.tsx @@ -53,7 +53,7 @@ function InstructionTab({ isActive }: Props) { ? accessTokenPayloadTypeDefinition : clientCredentialsPayloadTypeDefinition } - height="350px" + height="320px" theme="logto-dark" options={typeDefinitionCodeEditorOptions} /> @@ -70,7 +70,7 @@ function InstructionTab({ isActive }: Props) { language="typescript" className={styles.sampleCode} value={jwtCustomizerUserContextTypeDefinition} - height="700px" + height="400px" theme="logto-dark" options={typeDefinitionCodeEditorOptions} /> @@ -83,7 +83,9 @@ function InstructionTab({ isActive }: Props) { setExpendCard(expand ? CardType.FetchExternalData : undefined); }} > -