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" loginFailed: "Failed to sign in"
showOnRemote: "View on remote instance" showOnRemote: "View on remote instance"
general: "General" general: "General"
accountMoved: "User has moved to a new account." accountMoved: "User has moved to a new account:"
wallpaper: "Wallpaper" wallpaper: "Wallpaper"
setWallpaper: "Set wallpaper" setWallpaper: "Set wallpaper"
removeWallpaper: "Remove wallpaper" removeWallpaper: "Remove wallpaper"

View File

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

View File

@ -12,7 +12,6 @@ defineProps<{
<style lang="scss" scoped> <style lang="scss" scoped>
.jmgmzlwq { .jmgmzlwq {
font-size: 0.8em;
padding: 16px; padding: 16px;
background: var(--infoWarnBg); background: var(--infoWarnBg);
color: var(--infoWarnFg); 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="punished" v-if="user.isSilenced"><i class="ph-warning-bold ph-lg" style="margin-right: 8px;"></i> {{ i18n.ts.userSilenced }}</div> -->
<div class="profile"> <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" /> <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 :key="user.id" class="_block main">
<div class="banner-container" :style="style"> <div class="banner-container" :style="style">