Style improvements to moved

This commit is contained in:
ThatOneCalculator 2022-12-10 10:56:45 -08:00
parent be64fa5575
commit ac444442be
4 changed files with 8 additions and 10 deletions

View file

@ -149,7 +149,7 @@ addAccount: "Add account"
loginFailed: "Failed to sign in"
showOnRemote: "View on remote instance"
general: "General"
accountMoved: "User has moved to a new account."
accountMoved: "User has moved to a new account:"
wallpaper: "Wallpaper"
setWallpaper: "Set wallpaper"
removeWallpaper: "Remove wallpaper"

View file

@ -1,8 +1,8 @@
<template>
<div class="_block msjugskdqo">
<div class="msjugskd _block">
<i class="ph-airplane-takeoff-bold ph-lg" style="margin-right: 8px;"/>
{{ i18n.ts.accountMoved }}
<MkMention :class="$style.link" class="link" :username="acct" :host="host"/>
<MkMention class="link" :username="acct" :host="host"/>
</div>
</template>
@ -16,12 +16,11 @@ defineProps<{
}>();
</script>
<style lang="scss" module>
.msjugskdqo {
font-size: 0.8em;
<style lang="scss" scoped>
.msjugskd {
padding: 16px;
background: var(--infoBg);
color: var(--infoFg);
background: var(--infoWarnBg);
color: var(--error);
> .link {
margin-left: 4px;

View file

@ -12,7 +12,6 @@ defineProps<{
<style lang="scss" scoped>
.jmgmzlwq {
font-size: 0.8em;
padding: 16px;
background: var(--infoWarnBg);
color: var(--infoWarnFg);

View file

@ -7,8 +7,8 @@
<!-- <div class="punished" v-if="user.isSilenced"><i class="ph-warning-bold ph-lg" style="margin-right: 8px;"></i> {{ i18n.ts.userSilenced }}</div> -->
<div class="profile">
<MkRemoteCaution v-if="user.host != null" :href="user.url" class="warn"/>
<MkMoved v-if="user.movedToUri" :host="user.movedToUri.host" :acct="user.movedToUri.username" />
<MkRemoteCaution v-if="user.host != null" :href="user.url" class="warn"/>
<div :key="user.id" class="_block main">
<div class="banner-container" :style="style">