Skip to content

Commit

Permalink
feat: center course navbar when the screen is wider (#165)
Browse files Browse the repository at this point in the history
  • Loading branch information
laporchen committed Mar 17, 2024
1 parent 88ea886 commit d5914a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/auto/components.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ declare module '@vue/runtime-core' {
IUilChartLine: typeof import('~icons/uil/chart-line')['default']
IUilCheck: typeof import('~icons/uil/check')['default']
IUilCheckCircle: typeof import('~icons/uil/check-circle')['default']
IUilClock: typeof import('~icons/uil/clock')['default']
IUilConstructor: typeof import('~icons/uil/constructor')['default']
IUilEdit: typeof import('~icons/uil/edit')['default']
IUilFacebook: typeof import('~icons/uil/facebook')['default']
Expand Down
2 changes: 1 addition & 1 deletion src/components/CourseSideBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const navs = [
</li>
</ul>
<div v-else class="scrollbar-hide w-full overflow-scroll">
<div class="tabs w-max">
<div class="tabs mx-auto w-max">
<template v-for="{ name, path } in navs">
<a
class="tab tab-bordered h-10 w-32"
Expand Down

0 comments on commit d5914a9

Please sign in to comment.