diff --git a/src/assets/styles/app.scss b/src/assets/styles/app.scss index 1d474fbf6..95d154370 100644 --- a/src/assets/styles/app.scss +++ b/src/assets/styles/app.scss @@ -10,5 +10,6 @@ @import './components/_chat.scss'; @import './components/_login-form.scss'; +@import './components/_arrow-return.scss'; @import './themes/adamant/_index.scss'; diff --git a/src/assets/styles/components/_arrow-return.scss b/src/assets/styles/components/_arrow-return.scss new file mode 100644 index 000000000..9a4c40133 --- /dev/null +++ b/src/assets/styles/components/_arrow-return.scss @@ -0,0 +1,16 @@ +@import '../themes/adamant/_mixins.scss'; + +.arrow-return { + @include a-text-explanation(); +} + +.v-theme--light { + .arrow-return { + opacity: 0.7; + } +} +.v-theme--dark { + .arrow-return { + opacity: 0.6; + } +} diff --git a/src/components/AChat/AChatReplyPreview.vue b/src/components/AChat/AChatReplyPreview.vue index 07497fa37..0d1468bb9 100644 --- a/src/components/AChat/AChatReplyPreview.vue +++ b/src/components/AChat/AChatReplyPreview.vue @@ -6,7 +6,8 @@
- {{ isCryptoTransfer ? cryptoTransferLabel : messageLabel }} + + {{ cryptoTransferLabel }}
{ return store.state.options.formatMessages - ? removeFormats(props.message.message) + ? formatMessage(props.message.message) : props.message.message }) diff --git a/src/components/AChat/QuotedMessage.vue b/src/components/AChat/QuotedMessage.vue index dd6efb43f..2b5ac374a 100644 --- a/src/components/AChat/QuotedMessage.vue +++ b/src/components/AChat/QuotedMessage.vue @@ -20,7 +20,7 @@ {{ cryptoTransferLabel }} - {{ messageLabel }} + @@ -35,7 +35,7 @@ import { getTransaction, decodeChat } from '@/lib/adamant-api' import { normalizeMessage } from '@/lib/chat/helpers' import { Cryptos } from '@/lib/constants' import currencyFormatter from '@/filters/currencyAmountWithSymbol' -import { removeFormats } from '@/lib/markdown' +import { formatMessage } from '@/lib/markdown' const className = 'quoted-message' const classes = { @@ -124,7 +124,7 @@ export default defineComponent({ const messageLabel = computed(() => { return store.state.options.formatMessages - ? removeFormats(transaction.value.message) + ? formatMessage(transaction.value.message) : transaction.value.message }) diff --git a/src/components/ChatPreview.vue b/src/components/ChatPreview.vue index 372d43d15..be4496d3d 100644 --- a/src/components/ChatPreview.vue +++ b/src/components/ChatPreview.vue @@ -67,11 +67,16 @@ :class="['a-text-explanation-enlarged-bold', `${className}__subtitle`]" > - {{ lastMessageTextNoFormats }} + @@ -79,7 +84,7 @@