Skip to content

Commit

Permalink
Merge pull request #22 from JunyaoHu/21-navigation-affix-width-bug
Browse files Browse the repository at this point in the history
[fix] header navigation width
  • Loading branch information
JunyaoHu authored Jan 2, 2025
2 parents e96de5d + 3b63871 commit 49228a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Header.vue
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const more_paper = {

<template>
<!-- 设置页首始终悬浮顶部 -->
<el-affix :offset="0">
<el-affix :offset="0" :style="{width: '100%'}">

<!-- 水平导航目录 -->
<el-menu
Expand Down

0 comments on commit 49228a1

Please sign in to comment.