question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Max width of Panel is set with vh instead of vw.

See original GitHub issue

Hello there,

first of all, thank you for the realization of the fluent ui in Blazor. It really helps me with my project.

I’ve got a really small problem containing the max width of your panel component. For my use case it’s necessary to set the width of your Panel container to 100vw. I can’t do this because the max width is internally set to 100vh.

.ms-Panel--custom .ms-Panel-main {
    max-width: 100vh;
}
.ms-Panel--customLeft .ms-Panel-main {
    right: auto;
    left: 0;
    max-width: 100vh;
}

I don’t think this behaviour is wanted, so I changed it locally. It’s not documented how contributions are handled in this specific repository, but I can create a pull request if you want ^^

LG

Philipp

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
Eweolcommented, Jun 4, 2020

sry was first time fixed on wrong branch. Now it is available on master so should be in next release 😉

1reaction
Eweolcommented, May 18, 2020

@sonntag-philipp Thank you Will hopefully have time this evening to verify and pull/merge it

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to set VW and VH value to select option - css
1 Answer. Hello , here my code. You just need to modify the value of select width to change the size of options....
Read more >
CSS Viewport Units: vh, vw, vmin, and vmax
Viewport Maximum (vmax). This unit is based on the larger dimension of the viewport. If the viewport height is larger than the width,...
Read more >
Should I use vh, vw, %, or px for sizing? : r/webdev
I'm not exactly fond of using @media with a min-height or width, so recently I've been using vh for sizing to accommodate different...
Read more >
Vh and vw: how and why to use them in Webflow
vw and vh are length units representing 1% of the viewport size for viewport width (vw) and height (vh), respectively. Wondering what browsers ......
Read more >
Learn CSS Units – Em, Rem, VH, and VW with Code ...
Today we're gonna learn how to use the CSS units EM, REM, VW and VH by ... large screen @media (max-width: 1400px) {...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found