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

Popup utils and display issue #475

Merged
merged 7 commits into from
Dec 22, 2023
Merged

Popup utils and display issue #475

merged 7 commits into from
Dec 22, 2023

Conversation

jmhauck
Copy link
Collaborator

@jmhauck jmhauck commented Dec 22, 2023

@jmhauck jmhauck requested a review from MikeTschudi December 22, 2023 19:46
@jmhauck
Copy link
Collaborator Author

jmhauck commented Dec 22, 2023

@MikeTschudi going to push this through before I head out for the break. Would like a review still please. Will be happy to resolve anything that you may notice.

@jmhauck jmhauck merged commit 46e93b5 into develop Dec 22, 2023
3 checks passed
@jmhauck jmhauck deleted the mobile branch December 22, 2023 21:59
@@ -573,7 +573,7 @@ export class CrowdsourceManager {
let sizeClass = "";
switch (layoutMode) {
case ELayoutMode.HORIZONTAL:
sizeClass = `${this._isMobile && this._hideTable ? "height-full" : panelOpen ? "height-1-2" : "height-0"} width-full position-relative`;
sizeClass = `${this._isMobile && this.hideMap ? "height-0 " : panelOpen ? "height-1-2 display-grid" : "height-0"} width-full position-relative`;
Copy link
Member

Choose a reason for hiding this comment

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

Am I misreading this line? Expanded, I think that it is

if hideMap
    height-0
else if panelOpen
    height-1-2 display-grid
else
    height-0

And so It appears that this line is actually

if panelOpen
    height-1-2 display-grid
else
    height-0

and hideMap is irrelevant.

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