Open 17x opened 2 years ago
While i set width and height on mobile browser(both emulator and real device).
<Globe width={1280} height={720} ...restConfigs />
this make the global doesn't center on it's container.
After i delete size configs, the global back to center of screen
<Globe ...restConfigs />
@17x from your image it looks like your (emulated) screen size is 844x390. Therefore if you set your component size to be larger than this, like 1280x720 it is expected to overflow, and end up off center.
844x390
1280x720
While i set width and height on mobile browser(both emulator and real device).
<Globe width={1280} height={720} ...restConfigs />
this make the global doesn't center on it's container.
After i delete size configs, the global back to center of screen
<Globe ...restConfigs />