fix(client): fix tabs of page header behaviour
This commit is contained in:
parent
ac93af8eb5
commit
da71d8f4af
2 changed files with 7 additions and 1 deletions
|
@ -141,6 +141,7 @@ export default defineComponent({
|
|||
|
||||
showTabsPopup(ev) {
|
||||
if (!this.hasTabs) return;
|
||||
if (!this.narrow) return;
|
||||
ev.preventDefault();
|
||||
ev.stopPropagation();
|
||||
const menu = this.info.tabs.map(tab => ({
|
||||
|
@ -218,6 +219,7 @@ export default defineComponent({
|
|||
white-space: nowrap;
|
||||
text-align: left;
|
||||
font-weight: bold;
|
||||
flex-shrink: 0;
|
||||
|
||||
> .avatar {
|
||||
$size: 32px;
|
||||
|
@ -263,6 +265,8 @@ export default defineComponent({
|
|||
> .tabs {
|
||||
margin-left: 16px;
|
||||
font-size: 0.8em;
|
||||
overflow: auto;
|
||||
white-space: nowrap;
|
||||
|
||||
> .tab {
|
||||
display: inline-block;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue