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:
parent
d355ac7d20
commit
94b62fb0b4
2 changed files with 7 additions and 1 deletions
|
@ -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}
|
||||
/>
|
||||
|
|
|
@ -11,6 +11,11 @@
|
|||
|
||||
&:first-child {
|
||||
margin-right: _.unit(3);
|
||||
flex: 9;
|
||||
}
|
||||
|
||||
&:last-child {
|
||||
flex: 7;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue