Reputation: 35090
I need to know exactly which height for this is used:
<AppBar position="static">
<Toolbar>
because later in an other component I have the following calculation. Now I assume it is 64px, but seems on mobile it is smaller.
return (
<div
style={{
display: "flex",
maxWidth: `calc(calc((100vmin - 64px) * ${this.state.aspectRatio})+200px)`
}}
https://www.paintcodeapp.com/news/ultimate-guide-to-iphone-resolutions
Upvotes: 1
Views: 4665