0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-30 20:33:54 -05:00

style(console): minor custom jwt page style iteration (#5711)

minor custom jwt page styles iteration
This commit is contained in:
simeng-li 2024-04-16 10:08:32 +08:00 committed by GitHub
parent d355ac7d20
commit 94b62fb0b4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 1 deletions

View file

@ -53,7 +53,8 @@ function InstructionTab({ isActive }: Props) {
? accessTokenPayloadTypeDefinition
: clientCredentialsPayloadTypeDefinition
}
height="320px"
// ClientCredentials token payload has only a few fields, so it doesn't need to be as tall as the AccessToken payload.
height={tokenType === LogtoJwtTokenKeyType.AccessToken ? '320px' : '200px'}
theme="logto-dark"
options={typeDefinitionCodeEditorOptions}
/>

View file

@ -11,6 +11,11 @@
&:first-child {
margin-right: _.unit(3);
flex: 9;
}
&:last-child {
flex: 7;
}
}
}