-
Notifications
You must be signed in to change notification settings - Fork 97
Journey Theme: fixing the window size when tray is collapsed #760
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
Conversation
|
@chloemartin312 is attempting to deploy a commit to the HAXTheWeb Team on Vercel. A member of the Team first needs to authorize it. |
btopro
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The 2 files in question I don't think require these changes. Remove the changes and test locally. Also test in themes not journey to see if there are other themes that need to apply this improvement in screen resizing
elements/hax-body/hax-body.js
Outdated
| opacity: 0.2; | ||
| pointer-events: none; | ||
| } | ||
| :host([edit-mode][tray-status="collapsed"]) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this is needed
elements/hax-body/lib/hax-tray.js
Outdated
| } | ||
| :host([edit-mode][collapsed]) .wrapper { | ||
| width: unset; | ||
| width: 0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The tray gets moved off screen so I'm not sure this is useful
| :host([edit-mode][collapsed]) .wrapper { | ||
| width: unset; | ||
| } | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this shouldnt be removed entirely. it should be
:host([edit-mode][collapsed]) .wrapper {
width: unset;
}
When the blocks or configure tray is collapsed, the body takes up the whole screen.
haxtheweb/issues#2551