forked from AkkomaGang/akkoma-fe
Merge remote-tracking branch 'origin/develop' into threecolumn
* origin/develop: Fix tab switcher not working when some tabs hidden Fix mobile nav link text colour Fix shrug text in muted status
This commit is contained in:
commit
ce9fd04865
3 changed files with 5 additions and 2 deletions
|
@ -94,6 +94,9 @@
|
|||
grid-template-columns: 2fr auto;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
a {
|
||||
color: var(--topBarLink, $fallback--link);
|
||||
}
|
||||
}
|
||||
|
||||
.mobile-inner-nav {
|
||||
|
|
|
@ -50,7 +50,7 @@ export default {
|
|||
activeIndex () {
|
||||
// In case of controlled component
|
||||
if (this.activeTab) {
|
||||
return this.slots().findIndex(slot => this.activeTab === slot.props.key)
|
||||
return this.slots().findIndex(slot => slot && slot.props && this.activeTab === slot.props.key)
|
||||
} else {
|
||||
return this.active
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<div class="thread-tree panel-body">
|
||||
<div class="thread-tree">
|
||||
<status
|
||||
:key="status.id"
|
||||
ref="statusComponent"
|
||||
|
|
Loading…
Reference in a new issue