mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-26 10:13:48 +02:00
ui improve
This commit is contained in:
@@ -14,11 +14,7 @@
|
||||
@click="handleShowWorldDialog">
|
||||
<el-icon :class="['is-loading']" class="mr-1" v-if="isTraveling"><Loading /></el-icon>
|
||||
<span class="min-w-0 truncate">{{ text }}</span>
|
||||
<span
|
||||
v-if="groupName"
|
||||
class="ml-0.5 whitespace-nowrap"
|
||||
:class="{ 'x-link': link }"
|
||||
@click.stop="handleShowGroupDialog">
|
||||
<span v-if="groupName" class="ml-0.5 whitespace-nowrap x-link" @click.stop="handleShowGroupDialog">
|
||||
({{ groupName }})
|
||||
</span>
|
||||
</div>
|
||||
@@ -229,7 +225,7 @@
|
||||
|
||||
function handleShowGroupDialog() {
|
||||
let location = currentInstanceId();
|
||||
if (!location || !props.link) {
|
||||
if (!location) {
|
||||
return;
|
||||
}
|
||||
const L = parseLocation(location);
|
||||
@@ -244,10 +240,4 @@
|
||||
.transparent {
|
||||
color: transparent;
|
||||
}
|
||||
|
||||
:global(html.dark .x-location),
|
||||
:global(:root.dark .x-location),
|
||||
:global(:root[data-theme='dark'] .x-location) {
|
||||
color: var(--color-zinc-300);
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user