János
János

Reputation: 35090

Which height is used for AppBar, Toolbar in Material-UI?

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

Answers (1)

Domino987
Domino987

Reputation: 8794

The heights are listed in the default theme under mixins: enter image description here

Upvotes: 1

Related Questions