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

Incorrect Display Mode for Grouped Items in Side Navigation (Flex Instead of Block)" #170

Closed
CynthiaKamau opened this issue Jan 8, 2024 · 4 comments

Comments

@CynthiaKamau
Copy link
Contributor

CynthiaKamau commented Jan 8, 2024

https://github.com/openmrs/openmrs-esm-home/blame/4e16be566592d55c0d58353367f72e7fceb305f6/packages/esm-home-app/src/dashboard/home-dashboard.scss#L13

@denniskigen @vasharma05 what was the reason for adding this line ? For people using grouped links, it results in displaying the child links side by side as opposed to in a block format

Screenshot 2024-01-08 at 21 05 48
@denniskigen
Copy link
Member

denniskigen commented Jan 9, 2024

Hey, @CynthiaKamau. iirc, this change was made here with the intention that it would be removed once 5bf80e1 got merged. Is that right, @donaldkibet? In local testing, have you found that the left nav links get rendered correctly when these styles get removed? Just the regular links first, before we move on to the grouped links. That could be a good place to start.

@CynthiaKamau
Copy link
Contributor Author

Hey, @CynthiaKamau. iirc, this change was made here with the intention that it would be removed once 5bf80e1 got merged. Is that right, @donaldkibet? In local testing, have you found that the left nav links get rendered correctly when these styles get removed? Just the regular links first, before we move on to the grouped links. That could be a good place to start.

Yes, the normal links get rendered as expected when i remove the code snippet

@denniskigen
Copy link
Member

Ok. Please go ahead and file a PR.

@CynthiaKamau
Copy link
Contributor Author

Ok. Please go ahead and file a PR.

Already did : #171

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

No branches or pull requests

2 participants