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

(O3-2601)[feat] - Hide bottom navigation on tablet, when filling forms #1531

Merged

Conversation

usamaidrsk
Copy link
Contributor

@usamaidrsk usamaidrsk commented Dec 8, 2023

Requirements

  • This PR has a title that briefly describes the work done including the ticket number. If there is a ticket, make sure your PR title includes a conventional commit label. See existing PR titles for inspiration.
  • My work conforms to the OpenMRS 3.0 Styleguide and design documentation.
  • My work includes tests or is validated by existing tests.

Summary

  • Hide bottom navigation on tablets when on screen is visible to fill forms

Screenshots

image
image

Related Issue

O3-2601

Other

Copy link
Member

@donaldkibet donaldkibet left a comment

Choose a reason for hiding this comment

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

Thanks @usamaidrsk

@donaldkibet donaldkibet merged commit 8335312 into openmrs:main Dec 10, 2023
6 checks passed
Comment on lines +101 to +110
:global(.omrs-breakpoint-lt-desktop) {
.hiddenSideRail {
display: none;
}
}
:global(.omrs-breakpoint-lt-desktop) {
.showSideRail {
display: flex;
}
}
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
:global(.omrs-breakpoint-lt-desktop) {
.hiddenSideRail {
display: none;
}
}
:global(.omrs-breakpoint-lt-desktop) {
.showSideRail {
display: flex;
}
}
:global(.omrs-breakpoint-lt-desktop) {
.hiddenSideRail {
display: none;
}
.showSideRail {
display: flex;
}
}

The 2 classes can be clubbed into a single class bracket

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@vasharma05 thanks, though it was merged already

@vasharma05
Copy link
Member

Great work @usamaidrsk !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants