mirror of
https://github.com/desktop/desktop
synced 2024-10-30 17:25:09 +00:00
Merge pull request #17555 from desktop/commit-summary-expansion-tags
Commit Summary Expansion: Tags
This commit is contained in:
commit
e0394e8653
2 changed files with 19 additions and 13 deletions
|
@ -582,12 +582,9 @@ export class ExpandableCommitSummary extends React.Component<
|
|||
}
|
||||
|
||||
return (
|
||||
<div className="ecs-meta-ite-item">
|
||||
<span>
|
||||
<Octicon symbol={OcticonSymbol.tag} />
|
||||
</span>
|
||||
|
||||
<span className="tags selectable">{tags.join(', ')}</span>
|
||||
<div className="ecs-meta-item tags selectable">
|
||||
<Octicon symbol={OcticonSymbol.tag} />
|
||||
<span>{tags.join(', ')}</span>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
|
|
@ -126,11 +126,6 @@
|
|||
margin: 0;
|
||||
padding: 0 var(--spacing) var(--spacing);
|
||||
|
||||
.ecs-item:not(.without-truncation) {
|
||||
flex-shrink: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.ecs-meta-item {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
|
@ -185,9 +180,16 @@
|
|||
}
|
||||
}
|
||||
|
||||
.tags {
|
||||
@include ellipsis;
|
||||
&.tags {
|
||||
flex-shrink: 1;
|
||||
|
||||
.octicon {
|
||||
padding-right: var(--spacing-half);
|
||||
}
|
||||
|
||||
span {
|
||||
@include ellipsis;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -198,6 +200,7 @@
|
|||
|
||||
.ecs-meta-item {
|
||||
margin-bottom: var(--spacing-half);
|
||||
align-items: unset;
|
||||
|
||||
&.authors {
|
||||
display: block;
|
||||
|
@ -207,6 +210,12 @@
|
|||
display: flex;
|
||||
}
|
||||
}
|
||||
|
||||
&.tags {
|
||||
span {
|
||||
white-space: normal;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue