8000 Navbar.Brand scaling fix by unix-max · Pull Request #4315 · rsuite/rsuite · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Navbar.Brand scaling fix #4315

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Navbar.Brand scaling fix #4315

wants to merge 2 commits into from

Conversation

unix-max
Copy link

Fixed values ​​instead of using variables @navbar-item-padding-y @navbar-item-padding-x prevents these variables from working as expected. When decreasing the value of the @navbar-item-padding-y @navbar-item-padding-x variables, the fixed padding values ​​for Navbar.Brand do not allow the height of the entire Navbar to be reduced.

Copy link
codesandbox bot commented Jun 13, 2025

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

Copy link
vercel bot commented Jun 13, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
rsuite-nextjs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 13, 2025 9:14am
rsuite-storybook ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 13, 2025 9:14am

Copy link
codesandbox-ci bot commented Jun 13, 2025

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Copy link
@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR addresses the Navbar.Brand scaling issue by replacing fixed padding values with the dynamic variables @navbar-item-padding-y and @navbar-item-padding-x so the Navbar can scale properly.

  • Commented out hardcoded padding values
  • Replaced with variable-based padding

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
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.

1 participant
0