base url
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user