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(navbar): Add labels for navbar items on mobile #1323

Merged
merged 5 commits into from
Jun 17, 2023

Conversation

mr00z
Copy link
Contributor

@mr00z mr00z commented Jun 16, 2023

Fixes for #1312
Screenshots:
localhost_1234_(iPhone SE)
localhost_1234_(iPad Air)
localhost_1234_ (1)

@@ -220,42 +220,51 @@ export class Navbar extends Component<NavbarProps, NavbarState> {
)}
<li className="nav-item">
<a
className="nav-link"
className="nav-link d-inline-flex align-items-center d-md-inline-block"
Copy link
Member

Choose a reason for hiding this comment

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

Nitpick: since these classnames are pretty long and also repeated, it could be worth extracting into a variable.

@dessalines dessalines enabled auto-merge (squash) June 17, 2023 11:53
@dessalines dessalines merged commit 7c2a471 into LemmyNet:main Jun 17, 2023
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.

4 participants