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

fix: set correct item height when adding dashboard items in edit mode [v36] #1869

Merged
merged 2 commits into from
Jul 8, 2021

Conversation

jenniferarnesen
Copy link
Collaborator

@jenniferarnesen jenniferarnesen commented Jul 8, 2021

Backport of #1868

Remove the nested div that was causing the height for a visualization to not be set during edit mode. Fix was to restore the previous DOM structure, and just add a div around the error message with the needed height.

This bug was introduced by the fix for DHIS2-11303. PR that introduced the bug: #1832
The other change in this PR is to improve the styling of the error message.

@jenniferarnesen jenniferarnesen merged commit ba0a0e2 into v36 Jul 8, 2021
@jenniferarnesen jenniferarnesen deleted the fix/style-change-vis-error-msg-v36 branch July 8, 2021 12:43
jenniferarnesen added a commit that referenced this pull request Jul 8, 2021
… [v36] (#1869)

Backport of #1868

Remove the nested div that was causing the height for a visualization to not be set during edit mode. Fix was to restore the previous DOM structure, and just add a div around the error message with the needed height.

This bug was introduced by the fix for DHIS2-11303. PR that introduced the bug: #1832
The other change in this PR is to improve the styling of the error message.
jenniferarnesen added a commit that referenced this pull request Jul 8, 2021
… [v36] (#1869) (#1870)

Backport of #1868

Remove the nested div that was causing the height for a visualization to not be set during edit mode. Fix was to restore the previous DOM structure, and just add a div around the error message with the needed height.

This bug was introduced by the fix for DHIS2-11303. PR that introduced the bug: #1832
The other change in this PR is to improve the styling of the error message.
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