Merge branch 'develop' of codeberg.org:calckey/calckey into develop

This commit is contained in:
ThatOneCalculator 2023-05-02 15:15:05 -07:00
commit d07a294f33
2 changed files with 17 additions and 11 deletions

View File

@ -510,7 +510,7 @@ function readPromo() {
display: block;
margin-bottom: -10px;
margin-top: 16px;
border-left: 2px solid var(--divider);
border-left: 2px solid var(--X13);
margin-left: calc((var(--avatarSize) / 2) - 1px);
}
}
@ -627,14 +627,11 @@ function readPromo() {
> .body {
margin-top: 0.7em;
> .content {
> .translation {
border: solid 0.5px var(--divider);
border-radius: var(--radius);
padding: 12px;
margin-top: 8px;
}
> .translation {
border: solid 0.5px var(--divider);
border-radius: var(--radius);
padding: 12px;
margin-top: 8px;
}
> .renote {
padding-top: 8px;

View File

@ -1,9 +1,14 @@
<template>
<span v-if="note.visibility !== 'public'" :class="$style.visibility">
<i v-if="note.visibility === 'home'" class="ph-house ph-bold ph-lg"></i>
<i
v-if="note.visibility === 'home'"
class="ph-house ph-bold ph-lg"
v-tooltip="i18n.ts._visibility.home"
></i>
<i
v-else-if="note.visibility === 'followers'"
class="ph-lock-simple-open ph-bold ph-lg"
v-tooltip="i18n.ts._visibility.followers"
></i>
<i
v-else-if="note.visibility === 'specified'"
@ -12,7 +17,10 @@
></i>
</span>
<span v-if="note.localOnly" :class="$style.localOnly"
><i class="ph-hand-fist ph-bold ph-lg"></i
><i
class="ph-hand-fist ph-bold ph-lg"
v-tooltip="i18n.ts._visibility.localOnly"
></i
></span>
</template>
@ -21,6 +29,7 @@ import { ref } from "vue";
import XDetails from "@/components/MkUsersTooltip.vue";
import * as os from "@/os";
import { useTooltip } from "@/scripts/use-tooltip";
import { i18n } from "@/i18n";
const props = defineProps<{
note: {