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

style(console): role transfer component (#2964)

This commit is contained in:
Xiao Yijun 2023-01-17 12:31:20 +08:00 committed by GitHub
parent 59d9ff4516
commit c1749c0489
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 2 deletions

View file

@ -48,7 +48,7 @@ const ResourceItem = ({ resource, selectedScopes, onSelectResource, onSelectScop
setIsScopesInvisible(!isScopesInvisible);
}}
>
<IconButton className={styles.caret}>
<IconButton size="small" className={styles.caret}>
{isScopesInvisible ? <CaretFolded /> : <CaretExpanded />}
</IconButton>
<div className={styles.name}>{name}</div>

View file

@ -3,7 +3,7 @@
.sourceScopeItem {
display: flex;
align-items: center;
padding: _.unit(1.5) 0 _.unit(1.5) _.unit(8);
padding: _.unit(1.5) 0 _.unit(1.5) _.unit(7.5);
.name {
font: var(--font-body-medium);

View file

@ -22,6 +22,7 @@
.resourceName {
margin: 0 _.unit(2);
color: var(--color-text-secondary);
@include _.text-ellipsis;
}
}