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 ( return (
<div className={classNames(styles.tabContent, isActive && styles.active)}> <div className={classNames(styles.tabContent, isActive && styles.active)}>
<Card <Card className={classNames(styles.card, styles.flexGrow, styles.flexColumn)}>
className={classNames(styles.card, styles.flexGrow, styles.flexColumn, styles.fixHeight)}
>
<div className={styles.headerRow}> <div className={styles.headerRow}>
<div className={styles.cardHeader}> <div className={styles.cardHeader}>
<div className={styles.cardTitle}>{t('tester.title')}</div> <div className={styles.cardTitle}>{t('tester.title')}</div>

View file

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

View file

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