0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00

fix(console): revert the custom jwt forms overflow hidden (#5573)

revert the custom jwt forms overflow hidden styles
This commit is contained in:
simeng-li 2024-03-29 10:39:37 +08:00 committed by GitHub
parent 03144ae598
commit 867e1140a4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 1 additions and 18 deletions

View file

@ -155,9 +155,7 @@ function TestTab({ isActive }: Props) {
return (
<div className={classNames(styles.tabContent, isActive && styles.active)}>
<Card
className={classNames(styles.card, styles.flexGrow, styles.flexColumn, styles.fixHeight)}
>
<Card className={classNames(styles.card, styles.flexGrow, styles.flexColumn)}>
<div className={styles.headerRow}>
<div className={styles.cardHeader}>
<div className={styles.cardTitle}>{t('tester.title')}</div>

View file

@ -37,8 +37,6 @@
.tabContent {
display: none;
// restrict the height of the tab content to the height of the container
overflow: hidden;
&.active {
flex: 1;
@ -87,14 +85,6 @@
}
}
&.fixHeight {
overflow: hidden;
.cardContent {
overflow: hidden;
}
}
.expandButton {
width: 24px;
height: 24px;

View file

@ -19,16 +19,11 @@
display: flex;
flex-direction: row;
flex-grow: 1;
// restrict the height of the tab content to the height of the container
overflow: hidden;
> * {
flex: 1;
margin-bottom: _.unit(6);
// restrict the height of the tab content to the height of the container
overflow: hidden;
&:first-child {
margin-right: _.unit(3);
}