This commit is contained in:
2021-10-06 12:56:10 +02:00
parent 33de9c48eb
commit 845039f9df
4 changed files with 38 additions and 2 deletions
+1
View File
@@ -3,6 +3,7 @@
<mat-icon inline="true">{{'entryType.' + entry.entryType + '.icon' | i18n}}</mat-icon>
<a class="title" *ngIf="entry.url" [href]="entry.url" target="_blank">{{entry.title}}</a>
<a class="title" *ngIf="!entry.url" routerLink="/e/{{entry.id}}">{{entry.title}}</a>
<span *ngIf="entry.url" class="urlbase">(<a [href]="entry.url">{{entry.url | urlbase}}</a>)</span>
</div>
<div mat-line>
<small>
+15 -1
View File
@@ -4,6 +4,20 @@ a.title {
white-space: break-spaces;
}
span.urlbase {
margin-left: 5px;
font-size: 0.7em;
color: $accent;
a {
color: $accent;
}
a::after {
display: none;
}
}
small a {
color: inherit !important;
text-decoration: none;
@@ -27,4 +41,4 @@ span.voted {
small .mat-icon {
top: 2px;
margin-right: 0px;
}
}