mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-22 08:53:48 +01:00
fix: server info widget images
This commit is contained in:
parent
8356a15bae
commit
08f31cce4c
@ -3,19 +3,17 @@
|
|||||||
<div
|
<div
|
||||||
:class="$style.container"
|
:class="$style.container"
|
||||||
:style="{
|
:style="{
|
||||||
backgroundImage: $instance.bannerUrl
|
backgroundImage: `url(${$instance.bannerUrl})`,
|
||||||
? `url(${$instance.bannerUrl})`
|
|
||||||
: null,
|
|
||||||
}"
|
}"
|
||||||
>
|
>
|
||||||
<div :class="$style.iconContainer">
|
<div :class="$style.iconContainer">
|
||||||
<img
|
<img
|
||||||
:src="
|
:src="
|
||||||
$instance.iconUrl ??
|
$instance.iconUrl ||
|
||||||
$instance.faviconUrl ??
|
$instance.faviconUrl ||
|
||||||
'/favicon.ico'
|
'/favicon.ico'
|
||||||
"
|
"
|
||||||
alt=""
|
alt="Instance logo"
|
||||||
:class="$style.icon"
|
:class="$style.icon"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
@ -107,7 +105,7 @@ defineExpose<WidgetComponentExpose>({
|
|||||||
-1px 1px 0 var(--bg), 1px 1px 0 var(--bg);
|
-1px 1px 0 var(--bg), 1px 1px 0 var(--bg);
|
||||||
}
|
}
|
||||||
|
|
||||||
.host {
|
.name {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
Loading…
Reference in New Issue
Block a user