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

[Bug fix] Adjust nav bar icon badge placement #1408

Merged
merged 2 commits into from
Aug 2, 2023

Conversation

mharrigan26
Copy link
Contributor

@mharrigan26 mharrigan26 commented Aug 2, 2023

Overview

The icon badge indicating a new announcement is out of alignment with the nav bar when it is expanded. This change keeps it in the same place relative to the icon, regardless of the nav bar view.

Testing recommendations

Check that the badge stays in place.

GitHub issue number

Related Pull Requests

Checklist

  • Code is written and works correctly;
  • Changes are covered by tests;
  • Documentation reflects the changes;
  • Update rebar.config.script with the correct tag once a new Fauxton release is made

Comment on lines 137 to 146
.faux-navbar--wide .faux-navbar__icon-badge:after {
bottom: 12px;
right: 107px;
}

.faux-navbar--narrow .faux-navbar__icon-badge:after {
bottom: 38px;
right: 10px;
}

Copy link
Contributor

Choose a reason for hiding this comment

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

faux-navbar--narrow and faux-navbar--wide are defined around line 46, better to add these extra rules there to keep them together.

@Antonio-Maranhao Antonio-Maranhao merged commit b687355 into apache:main Aug 2, 2023
@mharrigan26 mharrigan26 deleted the adjust-nav-bar-icon-badge branch August 2, 2023 23:37
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.

2 participants