rename css class

This commit is contained in:
Maren Süwer
2018-12-20 16:27:41 +01:00
parent a9f54d3c69
commit fe9346fee6
2 changed files with 7 additions and 9 deletions

View File

@@ -95,7 +95,7 @@ class RepositoryEntry extends React.Component<Props> {
<figure className={classNames(classes.centerImage, "media-left")}>
<RepositoryAvatar repository={repository} />
</figure>
<div className="media-content">
<div className={classNames("media-content", "text-box")}>
<div className="content">
<p className="is-marginless">
<strong>{repository.name}</strong>

View File

@@ -112,15 +112,13 @@ $fa-font-path: "webfonts";
}
}
.media {
.media-content {
.text-box {
width: calc(50% - 0.75rem);
.shorten-text {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
}
}
// tables