mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-08 17:06:15 -08:00
style: imrpove rendering of large channel logos
This commit is contained in:
1 parent
75b38824e3
commit
7af688358c
2 files changed
+12
-6
No files matched your search
+7
-6
@@ -34,12 +34,13 @@
|
||||
[class.active]="selected?.id === channel.id"
|
||||
(click)="selectChannel(channel)"
|
||||
>
|
||||
<img
|
||||
[src]="channel.tvg.logo"
|
||||
*ngIf="channel.tvg.logo"
|
||||
width="48"
|
||||
onerror="this.style.display='none'"
|
||||
/>
|
||||
<div class="channel-logo" *ngIf="channel.tvg.logo">
|
||||
<img
|
||||
[src]="channel.tvg.logo"
|
||||
width="48"
|
||||
onerror="this.style.display='none'"
|
||||
/>
|
||||
</div>
|
||||
<p matLine class="channel-name">
|
||||
{{
|
||||
i + 1 + '. ' + channel?.name ||
|
||||
|
||||
@@ -21,6 +21,11 @@
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.channel-logo {
|
||||
height: 48px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
::ng-deep .dark-theme {
|
||||
.search-bar {
|
||||
background: #666;
|
||||
|
||||
Reference in new issue
Block a user