【发布时间】:2020-02-18 20:27:06
【问题描述】:
我需要确切知道使用了哪个高度:
<AppBar position="static">
<Toolbar>
因为稍后在另一个组件中我有以下计算。现在我假设它是 64 像素,但在移动设备上它似乎更小。
return (
<div
style={{
display: "flex",
maxWidth: `calc(calc((100vmin - 64px) * ${this.state.aspectRatio})+200px)`
}}
https://www.paintcodeapp.com/news/ultimate-guide-to-iphone-resolutions
【问题讨论】:
标签: css material-ui