Skip to content

Commit

Permalink
fix: aside padding for useLevel false
Browse files Browse the repository at this point in the history
Signed-off-by: ZTL-UwU <zhangtianli2006@163.com>
  • Loading branch information
ZTL-UwU committed Jul 11, 2024
1 parent 383265c commit c7a9d1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/layout/Aside.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
</NuxtLink>
</li>
</ul>
<LayoutAsideTree :links="tree" :level="0" class="px-3 pt-4" />
<LayoutAsideTree :links="tree" :level="0" class="px-3" :class="[config.aside.useLevel ? 'pt-4' : 'pt-1']" />
</UiScrollArea>
</template>

Expand Down

0 comments on commit c7a9d1b

Please sign in to comment.