♻️ Merge branch 'feature/custom-instance-ticker'
This commit is contained in:
commit
21e42a334d
2 changed files with 4 additions and 6 deletions
|
@ -6,7 +6,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
<template>
|
<template>
|
||||||
<div :class="$style.root" :style="bg">
|
<div :class="$style.root" :style="bg">
|
||||||
<img v-if="faviconUrl" :class="$style.icon" :src="faviconUrl"/>
|
<img v-if="faviconUrl" :class="$style.icon" :src="faviconUrl"/>
|
||||||
<div :class="$style.name">{{ instance.name }}</div>
|
<!-- <div :class="$style.name">{{ instance.name }}</div> -->
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
@ -45,8 +45,7 @@ $height: 2ex;
|
||||||
.root {
|
.root {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
height: $height;
|
border-radius: 10px;
|
||||||
border-radius: var(--MI-radius-xs) 0 0 var(--MI-radius-xs);
|
|
||||||
overflow: clip;
|
overflow: clip;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
text-shadow: /* .866 ≈ sin(60deg) */
|
text-shadow: /* .866 ≈ sin(60deg) */
|
||||||
|
|
|
@ -6,7 +6,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
<template>
|
<template>
|
||||||
<div :class="$style.root" :style="bg">
|
<div :class="$style.root" :style="bg">
|
||||||
<img v-if="faviconUrl" :class="$style.icon" :src="faviconUrl"/>
|
<img v-if="faviconUrl" :class="$style.icon" :src="faviconUrl"/>
|
||||||
<div :class="$style.name">{{ instance.name }}</div>
|
<!-- <div :class="$style.name">{{ instance.name }}</div> -->
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
@ -44,8 +44,7 @@ const bg = {
|
||||||
.root {
|
.root {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
height: 1.5ex;
|
border-radius: 10px;
|
||||||
border-radius: var(--MI-radius-xl);
|
|
||||||
padding: 4px;
|
padding: 4px;
|
||||||
overflow: clip;
|
overflow: clip;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
|
|
Loading…
Add table
Reference in a new issue