mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
style(console): text ellipsis in roles table (#2984)
This commit is contained in:
parent
95a44929a5
commit
3c1793e6ba
3 changed files with 9 additions and 2 deletions
|
@ -11,9 +11,10 @@
|
|||
|
||||
.content {
|
||||
padding-right: _.unit(4);
|
||||
max-width: 100%;
|
||||
overflow: hidden;
|
||||
|
||||
.title {
|
||||
display: block;
|
||||
font: var(--font-body-medium);
|
||||
color: var(--color-text-link);
|
||||
text-decoration: none;
|
||||
|
|
|
@ -1,3 +1,9 @@
|
|||
@use '@/scss/underscore' as _;
|
||||
|
||||
.search {
|
||||
width: 306px;
|
||||
}
|
||||
|
||||
.description {
|
||||
@include _.text-ellipsis;
|
||||
}
|
||||
|
|
|
@ -77,7 +77,7 @@ const Roles = () => {
|
|||
title: t('roles.role_description'),
|
||||
dataIndex: 'description',
|
||||
colSpan: 6,
|
||||
render: ({ description }) => description,
|
||||
render: ({ description }) => <div className={styles.description}>{description}</div>,
|
||||
},
|
||||
{
|
||||
title: <span>{t('roles.assigned_users')}</span>,
|
||||
|
|
Loading…
Reference in a new issue