Skip to content

Commit 8176d28

Browse files
committed
refactor(Tenant): add tenant name wrapper
1 parent a379796 commit 8176d28

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

src/containers/Tenants/Tenants.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ class Tenants extends React.Component {
144144
: undefined;
145145
const isExternalLink = Boolean(backend);
146146
return (
147-
<React.Fragment>
147+
<div className={b('name-wrapper')}>
148148
<EntityStatus
149149
externalLink={isExternalLink}
150150
className={b('name')}
@@ -159,7 +159,7 @@ class Tenants extends React.Component {
159159
})}
160160
/>
161161
{additionalTenantsInfo.name && additionalTenantsInfo.name(value, row)}
162-
</React.Fragment>
162+
</div>
163163
);
164164
},
165165
width: 440,

src/containers/Tenants/Tenants.scss

+7-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,13 @@
5454
.data-table__row:hover &__type-button {
5555
visibility: visible;
5656
}
57+
58+
&__name-wrapper {
59+
display: flex;
60+
align-items: center;
61+
}
62+
5763
&__name {
58-
max-width: 90%;
64+
overflow: hidden;
5965
}
6066
}

0 commit comments

Comments
 (0)