Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only show tooltips when sidebar is not open #18284

Merged
merged 2 commits into from Apr 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/src/views/private/components/notifications-preview.vue
Expand Up @@ -14,7 +14,7 @@
</transition-expand>

<sidebar-button
v-tooltip.left="t('activity_log')"
v-tooltip.left="!sidebarOpen && t('activity_log')"
:active="modelValue"
class="toggle"
icon="pending_actions"
Expand Down
2 changes: 1 addition & 1 deletion app/src/views/private/components/sidebar-detail.vue
@@ -1,6 +1,6 @@
<template>
<div class="sidebar-detail" :class="{ open: sidebarOpen }">
<button v-tooltip.left="title" class="toggle" :class="{ open: active }" @click="toggle">
<button v-tooltip.left="!sidebarOpen && title" class="toggle" :class="{ open: active }" @click="toggle">
<div class="icon">
<v-badge :dot="badge === true" bordered :value="badge" :disabled="!badge">
<v-icon :name="icon" />
Expand Down