Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: center course navbar when the screen is wider #165

Merged
merged 1 commit into from
Mar 17, 2024

Conversation

laporchen
Copy link
Contributor

On #159, the menu bar was redesigned for smaller screen.
But it doesn't look that good on in-between screen size.
Made navbar centered to make it looks a bit nicer.
image

@laporchen laporchen requested a review from uier March 17, 2024 07:11
@@ -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 m-auto w-max">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is it m-auto but not mx-auto?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated. I just didn't think much about it

Copy link

cloudflare-pages bot commented Mar 17, 2024

Deploying nfe with  Cloudflare Pages  Cloudflare Pages

Latest commit: b2ea79f
Status: ✅  Deploy successful!
Preview URL: https://80452167.nfe.pages.dev
Branch Preview URL: https://feat-center-course-nav-bar.nfe.pages.dev

View logs

@uier uier merged commit d5914a9 into main Mar 17, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants