Member list is cutting off on screen

https://github.com/rancher/rancher/issues/16818
This commit is contained in:
n313893254 2018-12-14 18:34:54 +08:00
parent 41571fc72d
commit a34bc3b7c6
3 changed files with 61 additions and 50 deletions

View File

@ -60,6 +60,7 @@
@import "app/styles/components/nav-boxes"; @import "app/styles/components/nav-boxes";
@import "app/styles/components/pipeline"; @import "app/styles/components/pipeline";
@import "app/styles/components/logging"; @import "app/styles/components/logging";
@import "app/styles/components/identity-block";
// Vendor // Vendor
// Pretty much what it says. Vendor specific changes/overrides or includes. // Pretty much what it says. Vendor specific changes/overrides or includes.

View File

@ -0,0 +1,8 @@
.identity-block {
width: 30vw;
.gh-block-name > div {
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
}
}

View File

@ -1,4 +1,5 @@
{{yield}} {{yield}}
<div class="identity-block">
{{#if avatar}} {{#if avatar}}
<div class="gh-avatar"> <div class="gh-avatar">
{{#if principal.avatarSrc}} {{#if principal.avatarSrc}}
@ -53,3 +54,4 @@
{{/if}} {{/if}}
</div> </div>
</div> </div>
</div>