MudBlazor / MudBlazor

Blazor Component Library based on Material design with an emphasis on ease of use. Mainly written in C# with Javascript kept to a bare minimum it empowers .NET developers to easily debug it if needed.
http://mudblazor.com
MIT License
8.04k stars 1.28k forks source link

Appbar - theme - AppbarHeight #3898

Open ghost opened 2 years ago

ghost commented 2 years ago

Bug type

Component

Component name

MudAppbar

What happened?

.Net core 5 Application I am using a custom theme and have setup the appbarHeight to 80px LayoutProperties = new LayoutProperties() { AppbarHeight = "80px", }; When my screen resolution change from landscape to portrait. the appbarHeight is getting ignored and the appbar height change to 70px.

Expected behavior

the appbar height should not change if it is defined.

Reproduction link

none

Reproduction steps

  1. create a custom theme and specified appbarHeight to 80px
  2. create a page with a fixed top appbar.
  3. change the page dimensions in your browser from landscape to portrait

Relevant log output

No response

Version (bug)

5.2.4

Version (working)

No response

What browsers are you seeing the problem on?

Firefox, Chrome, Microsoft Edge

On what operating system are you experiencing the issue?

Windows

Pull Request

Code of Conduct

Garderoben commented 2 years ago

Its a "design" error by me for sure, for now you can always set the Appbar to Dense="true" and in the theme set the height to 106.67px and you will get a always 80px height appbar.