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")}> <figure className={classNames(classes.centerImage, "media-left")}>
<RepositoryAvatar repository={repository} /> <RepositoryAvatar repository={repository} />
</figure> </figure>
<div className="media-content"> <div className={classNames("media-content", "text-box")}>
<div className="content"> <div className="content">
<p className="is-marginless"> <p className="is-marginless">
<strong>{repository.name}</strong> <strong>{repository.name}</strong>

View File

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