0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-01-06 20:40:08 -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); setIsScopesInvisible(!isScopesInvisible);
}} }}
> >
<IconButton className={styles.caret}> <IconButton size="small" className={styles.caret}>
{isScopesInvisible ? <CaretFolded /> : <CaretExpanded />} {isScopesInvisible ? <CaretFolded /> : <CaretExpanded />}
</IconButton> </IconButton>
<div className={styles.name}>{name}</div> <div className={styles.name}>{name}</div>

View file

@ -3,7 +3,7 @@
.sourceScopeItem { .sourceScopeItem {
display: flex; display: flex;
align-items: center; 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 { .name {
font: var(--font-body-medium); font: var(--font-body-medium);

View file

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