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:
parent
59d9ff4516
commit
c1749c0489
3 changed files with 3 additions and 2 deletions
|
@ -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>
|
||||||
|
|
|
@ -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);
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue