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