Small tweaks and corrections

This commit is contained in:
Yuri Sizov
2023-03-23 19:01:01 +01:00
parent 080c92fbab
commit cf01126e67
4 changed files with 11 additions and 9 deletions

View File

@@ -53,7 +53,7 @@ export default class CommitItem extends LitElement {
font-size: 13px;
}
:host .item-people {
:host .item-links {
display: flex;
flex-direction: column;
gap: 2px;
@@ -78,7 +78,7 @@ export default class CommitItem extends LitElement {
flex-direction: column;
}
:host .item-people {
:host .item-links {
text-align: left;
}
}
@@ -100,9 +100,7 @@ export default class CommitItem extends LitElement {
</div>
<div class="item-meta">
<div></div>
<div class="item-people">
<div>
<div class="item-authors">
<span>by </span>
${this.authors.map((author) => {
@@ -119,7 +117,9 @@ export default class CommitItem extends LitElement {
`;
})}
</div>
</div>
<div class="item-links">
<div>
<span>committed in </span>
<a

View File

@@ -54,7 +54,7 @@ export default class PullRequestItem extends LitElement {
font-size: 13px;
}
:host .item-people {
:host .item-links {
display: flex;
flex-direction: column;
gap: 2px;
@@ -79,7 +79,7 @@ export default class PullRequestItem extends LitElement {
flex-direction: column;
}
:host .item-people {
:host .item-links {
text-align: left;
}
}
@@ -126,7 +126,7 @@ export default class PullRequestItem extends LitElement {
})}
</div>
<div class="item-people">
<div class="item-links">
<div class="item-authors">
<span>by </span>
${this.authors.map((author) => {

View File

@@ -72,7 +72,8 @@ export default class ChangeItemAuthor extends LitElement {
render(){
const authorClassList = [ "item-author" ];
if (this.is_hot) {
authorClassList.push("item-author--hot");
// TODO: Either restore or remove it, but it's rather noisy as it is.
//authorClassList.push("item-author--hot");
}
if (this.id === "") {
authorClassList.push("item-author--ghost");

View File

@@ -35,6 +35,7 @@ export default class ChangeItemLabel extends LitElement {
display: inline-block;
width: 8px;
height: 8px;
filter: brightness(0.75);
}
:host .item-label-name {
padding-left: 3px;