mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-24 17:23:50 +02:00
Fix bio diff and fullscreen image click to close
This commit is contained in:
16
src/app.css
16
src/app.css
@@ -334,6 +334,22 @@ i.x-status-icon.red {
|
|||||||
padding-top: 15px;
|
padding-top: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Bio diff */
|
||||||
|
.x-text-removed {
|
||||||
|
text-decoration: line-through;
|
||||||
|
color: #ff0000;
|
||||||
|
background-color: rgba(255, 0, 0, 0.2);
|
||||||
|
padding: 2px 2px;
|
||||||
|
border-radius: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.x-text-added {
|
||||||
|
color: rgb(35, 188, 35);
|
||||||
|
background-color: rgba(76, 255, 80, 0.2);
|
||||||
|
padding: 2px 2px;
|
||||||
|
border-radius: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
/*FIXME: this is a nasty temporary hack*/
|
/*FIXME: this is a nasty temporary hack*/
|
||||||
.force-pointer-on-hover a,
|
.force-pointer-on-hover a,
|
||||||
.force-pointer-on-hover button,
|
.force-pointer-on-hover button,
|
||||||
|
|||||||
@@ -1,15 +1,17 @@
|
|||||||
<template>
|
<template>
|
||||||
<Dialog v-model:open="open">
|
<Dialog v-model:open="open">
|
||||||
<DialogPortal :to="portalTo">
|
<DialogPortal :to="portalTo">
|
||||||
<RekaDialogOverlay class="fixed inset-0 bg-background/80 backdrop-blur-sm" @click="closeDialog" />
|
<RekaDialogOverlay class="fixed inset-0 bg-background/80 backdrop-blur-sm" />
|
||||||
|
|
||||||
<RekaDialogContent
|
<RekaDialogContent
|
||||||
class="fixed inset-0 p-6 sm:p-10 border-0 bg-transparent shadow-none outline-none"
|
class="fixed inset-0 p-6 sm:p-10 border-0 bg-transparent shadow-none outline-none"
|
||||||
|
@click="closeDialog"
|
||||||
@open-auto-focus.prevent
|
@open-auto-focus.prevent
|
||||||
@close-auto-focus.prevent>
|
@close-auto-focus.prevent>
|
||||||
<div ref="viewerEl" class="relative h-full w-full overflow-hidden select-none">
|
<div ref="viewerEl" class="relative h-full w-full overflow-hidden select-none">
|
||||||
<!-- toolbar -->
|
<!-- toolbar -->
|
||||||
<div
|
<div
|
||||||
|
@click.stop
|
||||||
class="absolute right-3 top-3 z-10 flex items-center gap-2 rounded-md bg-background/70 backdrop-blur px-2 py-1 border">
|
class="absolute right-3 top-3 z-10 flex items-center gap-2 rounded-md bg-background/70 backdrop-blur px-2 py-1 border">
|
||||||
<Button
|
<Button
|
||||||
variant="ghost"
|
variant="ghost"
|
||||||
@@ -73,14 +75,13 @@
|
|||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div
|
<div class="h-full w-full flex items-center justify-center" @wheel="onWheel">
|
||||||
class="h-full w-full flex items-center justify-center"
|
|
||||||
@wheel="onWheel"
|
|
||||||
@pointerdown="onPointerDown"
|
|
||||||
@pointermove="onPointerMove"
|
|
||||||
@pointerup="onPointerUp"
|
|
||||||
@pointercancel="onPointerUp">
|
|
||||||
<img
|
<img
|
||||||
|
@pointerdown="onPointerDown"
|
||||||
|
@pointermove="onPointerMove"
|
||||||
|
@pointerup="onPointerUp"
|
||||||
|
@pointercancel="onPointerUp"
|
||||||
|
@click.stop
|
||||||
v-if="imageUrl"
|
v-if="imageUrl"
|
||||||
:src="imageUrl"
|
:src="imageUrl"
|
||||||
class="max-h-full max-w-full x-viewer-img"
|
class="max-h-full max-w-full x-viewer-img"
|
||||||
|
|||||||
@@ -125,7 +125,7 @@
|
|||||||
</DropdownMenuItem>
|
</DropdownMenuItem>
|
||||||
<DropdownMenuItem @click="onCommand('Pencil Note Memo')">
|
<DropdownMenuItem @click="onCommand('Pencil Note Memo')">
|
||||||
<Pencil class="size-4" />
|
<Pencil class="size-4" />
|
||||||
Pencil Note and Memo
|
{{ t('dialog.user.actions.edit_note_memo') }}
|
||||||
</DropdownMenuItem>
|
</DropdownMenuItem>
|
||||||
<DropdownMenuSeparator />
|
<DropdownMenuSeparator />
|
||||||
<DropdownMenuItem @click="onCommand('Show Avatar Author')">
|
<DropdownMenuItem @click="onCommand('Show Avatar Author')">
|
||||||
|
|||||||
@@ -421,7 +421,7 @@
|
|||||||
},
|
},
|
||||||
"export": {
|
"export": {
|
||||||
"header": "Export",
|
"header": "Export",
|
||||||
"export_notes": "Export User Notes",
|
"export_notes": "Export User Memos",
|
||||||
"export_notes_description": "Export VRCX user memos to VRChat notes",
|
"export_notes_description": "Export VRCX user memos to VRChat notes",
|
||||||
"discord_names": "Discord Names",
|
"discord_names": "Discord Names",
|
||||||
"export_friend_list": "Export Friends List",
|
"export_friend_list": "Export Friends List",
|
||||||
@@ -1006,7 +1006,8 @@
|
|||||||
"report_hacking": "Report For Hacking",
|
"report_hacking": "Report For Hacking",
|
||||||
"unfriend": "Unfriend",
|
"unfriend": "Unfriend",
|
||||||
"unfriend_success_msg": "Unfriended",
|
"unfriend_success_msg": "Unfriended",
|
||||||
"logout": "Logout"
|
"logout": "Logout",
|
||||||
|
"edit_note_memo": "Edit Note and Memo"
|
||||||
},
|
},
|
||||||
"info": {
|
"info": {
|
||||||
"header": "Info",
|
"header": "Info",
|
||||||
|
|||||||
@@ -47,7 +47,6 @@
|
|||||||
<span class="name" v-text="feed.displayName"></span>
|
<span class="name" v-text="feed.displayName"></span>
|
||||||
<Check class="h-5 w-5" />
|
<Check class="h-5 w-5" />
|
||||||
<template v-if="feed.worldName">
|
<template v-if="feed.worldName">
|
||||||
<Loader2 v-if="feed.isTraveling" class="is-loading ml-5 h-4 w-4" />
|
|
||||||
<VrLocation
|
<VrLocation
|
||||||
:location="feed.location"
|
:location="feed.location"
|
||||||
:hint="feed.worldName"
|
:hint="feed.worldName"
|
||||||
@@ -641,9 +640,6 @@
|
|||||||
<span style="margin-left: 5px; margin-right: 5px">has logged in</span>
|
<span style="margin-left: 5px; margin-right: 5px">has logged in</span>
|
||||||
<template v-if="feed.worldName">
|
<template v-if="feed.worldName">
|
||||||
to
|
to
|
||||||
<Loader2
|
|
||||||
v-if="feed.isTraveling"
|
|
||||||
class="is-loading ml-5 inline-block h-4 w-4" />
|
|
||||||
<VrLocation
|
<VrLocation
|
||||||
:location="feed.location"
|
:location="feed.location"
|
||||||
:hint="feed.worldName"
|
:hint="feed.worldName"
|
||||||
|
|||||||
Reference in New Issue
Block a user