Fix styling of credits for people with long names

They'll now get truncated with ellipses.
This commit is contained in:
Oliver Hamlet
2017-07-06 21:38:20 +01:00
committed by GitHub
parent 7ea91bf7af
commit a06cf6b5bf
+8
View File
@@ -71,6 +71,7 @@ nav > .divider {
margin: 4px;
background: white;
color: inherit;
white-space: nowrap;
}
.loot-contributor__avatar,
.loot-contributor__text {
@@ -89,6 +90,13 @@ nav > .divider {
text-align: center;
color: rgba(0, 0, 0, 0.54);
}
.loot-contributor__text {
width: calc(100% - 56px);
}
.loot-contributor__name {
overflow: hidden;
text-overflow: ellipses;
}
.loot-contributor__contributions {
font-size: 0.857rem;
color: rgba(0, 0, 0, 0.54);