Minor channel logo fixes.

This commit is contained in:
2024-07-08 05:01:13 +02:00
parent b254bc22a4
commit d7372a518e
7 changed files with 26 additions and 9 deletions

View File

@@ -32,7 +32,7 @@
>
<a
:href="`/${network.type}/${network.slug}`"
class="network"
class="network nolink"
>
<img
v-if="network.hasLogo"
@@ -41,7 +41,10 @@
class="logo"
>
<span v-else>{{ network.name }}</span>
<span
v-else
class="ellipsis"
>{{ network.name }}</span>
<Icon
v-if="pageContext.urlParsed.search.q && network.type === 'network'"
@@ -167,7 +170,7 @@ async function search() {
border-radius: .5rem;
background: var(--shadow-strong-30);
color: var(--text-light);
font-size: 1.25rem;
font-size: 1.5rem;
font-weight: bold;
overflow: hidden;

View File

@@ -5,7 +5,7 @@
:href="entityUrl"
target="_blank"
rel="noopener"
class="link link-child"
class="link-child nolink"
:data-umami-event="entity.affiliate ? 'entity-click-aff' : 'entity-click'"
:data-umami-event-aff-id="entity.affiliate?.id"
:data-umami-event-entity="entity.slug"
@@ -39,7 +39,7 @@
<a
v-if="entity.parent"
:href="`/${entity.parent.type}/${entity.parent.slug}`"
class="link link-parent"
class="link-parent nolink"
>
<img
v-if="entity.parent.hasLogo"
@@ -164,6 +164,12 @@ const entityUrl = (() => {
}
}
.name {
display: block;
padding: 1rem;
margin: 0;
}
.logo {
height: 2rem;
max-width: 15rem;