-
Notifications
You must be signed in to change notification settings - Fork 22
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: #105 fixed ipad ui developer welcome #147
Conversation
if (isMobileScreen && helpguideRef.current && wrapperStepRef.current) { | ||
const wrapperWidth = helpguideRef.current.clientWidth * total | ||
wrapperStepRef.current.style.width = `${wrapperWidth}px` | ||
if (helpguideRef.current && wrapperStepRef.current) { |
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.
if (helpguideRef.current && wrapperStepRef.current && isMobileScreen) {
const wrapperWidth = helpguideRef.current.clientWidth * total
wrapperStepRef.current.style.width = `${wrapperWidth}px`
}
if (helpguideRef.current && wrapperStepRef.current && !isMobileScreen) {
wrapperStepRef.current.style.width = '100%'
}
I think this one will look more cleaner
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.
Aside from Duong's comment, looks good 👍
30086e0
to
722dc1a
Compare
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.
LGTM
#105 #139