Skip to content

Commit

Permalink
Merge branch 'main' into userquin/fix-settings-navigation
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinigami92 authored Jan 22, 2023
2 parents 0dd462a + c28c95e commit 3357b63
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/status/StatusCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ const showReplyTo = $computed(() => !replyToMain && !directReply)
<StatusAccountDetails :account="status.account" />
</AccountHoverWrapper>
<div flex-auto />
<div v-show="!userSettings.zenMode" text-sm text-secondary flex="~ row nowrap" hover:underline>
<div v-show="!userSettings.zenMode" text-sm text-secondary flex="~ row nowrap" hover:underline whitespace-nowrap>
<AccountBotIndicator v-if="status.account.bot" me-2 />
<div flex="~ gap1" items-center>
<StatusVisibilityIndicator v-if="status.visibility !== 'public'" :status="status" />
Expand Down
5 changes: 4 additions & 1 deletion components/tag/TagCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ const {
tag: mastodon.v1.Tag
}>()
const to = $computed(() => new URL(tag.url).pathname)
const to = $computed(() => {
const { hostname, pathname } = new URL(tag.url)
return `/${hostname}${pathname}`
})
</script>

<template>
Expand Down

0 comments on commit 3357b63

Please sign in to comment.