Remove tooltip on customize button in dashboard
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
84fe4447a7
commit
b759b40f24
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -25,10 +25,8 @@
|
||||||
</div>
|
</div>
|
||||||
</Draggable>
|
</Draggable>
|
||||||
|
|
||||||
<div class="footer"
|
<div class="footer">
|
||||||
:class="{ firstrun: firstRun }">
|
<a class="edit-panels icon-rename"
|
||||||
<a v-tooltip="tooltip"
|
|
||||||
class="edit-panels icon-rename"
|
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
@click="showModal"
|
@click="showModal"
|
||||||
@keyup.enter="showModal"
|
@keyup.enter="showModal"
|
||||||
|
@ -158,17 +156,6 @@ export default {
|
||||||
backgroundImage: `url(${this.backgroundImage})`,
|
backgroundImage: `url(${this.backgroundImage})`,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
tooltip() {
|
|
||||||
if (!this.firstRun) {
|
|
||||||
return null
|
|
||||||
}
|
|
||||||
return {
|
|
||||||
content: t('dashboard', 'Adjust the dashboard to your needs'),
|
|
||||||
placement: 'top',
|
|
||||||
show: true,
|
|
||||||
trigger: 'manual',
|
|
||||||
}
|
|
||||||
},
|
|
||||||
greeting() {
|
greeting() {
|
||||||
const time = this.timer.getHours()
|
const time = this.timer.getHours()
|
||||||
const shouldShowName = this.displayName && this.uid !== this.displayName
|
const shouldShowName = this.displayName && this.uid !== this.displayName
|
||||||
|
@ -489,11 +476,6 @@ export default {
|
||||||
transition: bottom var(--animation-slow) ease-in-out;
|
transition: bottom var(--animation-slow) ease-in-out;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
padding: 44px 0;
|
padding: 44px 0;
|
||||||
|
|
||||||
&.firstrun {
|
|
||||||
position: sticky;
|
|
||||||
bottom: 10px;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.edit-panels {
|
.edit-panels {
|
||||||
|
|
Loading…
Reference in New Issue