Minor channel logo fixes.
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user