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: set expanded control bar height for small screens #1459

Merged
merged 28 commits into from
Jan 29, 2021

Conversation

jenniferarnesen
Copy link
Collaborator

@jenniferarnesen jenniferarnesen commented Jan 21, 2021

Fixes in this PR:

  • Small screen expanded controlbar: the search input field should stretch to the whole width
  • Small screen tapping “search icon” in the control bar, search input should focus
  • Small screen expanded controlbar: adjust "search icon"
  • Small screen expanded controlbar should take all the height - 32px
  • Vertical scrolling in the expanded controlbar should work

Control bar height (100vh - 32px)
image

Search input focus and whole width
image

Vertical scroll
image

jenniferarnesen and others added 27 commits January 20, 2021 10:32
@Sharmyn28 Sharmyn28 self-requested a review January 28, 2021 16:13
Copy link
Member

@cooper-joe cooper-joe left a comment

Choose a reason for hiding this comment

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

LGTM 👍

I see we get the double-scrollbars when the control bar is expanded (scrollbar for controlbar, scrollbar for dashboard content). I think this might be inevitable, but I'll do some extra testing when this is on play.

@jenniferarnesen jenniferarnesen enabled auto-merge (squash) January 29, 2021 07:50
@jenniferarnesen jenniferarnesen merged commit 0d009ae into master Jan 29, 2021
@jenniferarnesen jenniferarnesen deleted the feat/responsive-ctrl-bar-height branch January 29, 2021 07:57
dhis2-bot added a commit that referenced this pull request Jan 29, 2021
# [31.9.0](v31.8.0...v31.9.0) (2021-01-29)

### Features

* set expanded control bar height for small screens ([#1459](#1459)) ([0d009ae](0d009ae))
@dhis2-bot
Copy link
Contributor

🎉 This PR is included in version 31.9.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

4 participants