Skip to content

Commit

Permalink
修复因 naive-ui 更新导致的页面元素错位
Browse files Browse the repository at this point in the history
  • Loading branch information
Yurunsoft committed Jan 24, 2024
1 parent e57c075 commit 1d4bad7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion web/.vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"prettier.enable": false,
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
"source.fixAll.eslint": "explicit"
},
"eslint.validate": [
"javascript",
Expand Down
4 changes: 2 additions & 2 deletions web/src/views/layout/Navigate.vue
Original file line number Diff line number Diff line change
Expand Up @@ -387,9 +387,9 @@ async function onMouseEnter() {
imi AI
</h2>
</RouterLink>
<NMenu v-if="!isMobile" v-model:value="selectedKey" class="header-menu ml-10" mode="horizontal" :options="menuOptions" />
<NMenu v-if="!isMobile" v-model:value="selectedKey" class="header-menu ml-10 !max-w-fit" mode="horizontal" :options="menuOptions" />
</div>
<NMenu v-model:value="rightMenuSelectedKey" class="member-menu" mode="horizontal" :options="rightMenuOptions" dropdown-placement="bottom-end" @mouseenter="onMouseEnter" />
<NMenu v-model:value="rightMenuSelectedKey" class="member-menu !max-w-fit" mode="horizontal" :options="rightMenuOptions" dropdown-placement="bottom-end" @mouseenter="onMouseEnter" />
</div>
</div>

Expand Down

0 comments on commit 1d4bad7

Please sign in to comment.