Vuetify: [Bug Report] Container with fill-height makes row smaller than it should

Created on 22 Nov 2019  路  6Comments  路  Source: vuetifyjs/vuetify

Environment

Vuetify Version: 2.1.11
Vue Version: 2.6.10
Browsers: Chrome 78.0.3904.97
OS: Windows 10

Steps to reproduce

Set a container with fill-height
Add a row

Expected Behavior

row is centered on container

Actual Behavior

Row is not centered

Reproduction Link

Here you can see that theres more space to the right of the row than to the left:
https://codepen.io/mrodal/pen/GRRLBvm

Other comments

What I could find is that this style looks like the culprit

.container.fill-height>.row {
    max-width: 100%;
}

When taken away, the issue is fixed.. I dont know if removing it breaks something else

VGrid high bug

Most helpful comment

Use style="max-width: initial" as a temporary fix.

All 6 comments

I can confirm the issue. I spent a long time after updating Vuetify trying to find out what I was doing wrong. 馃槄

It seems that the issue was somehow introduced by #9731.

Use style="max-width: initial" as a temporary fix.

Use style="max-width: initial" as a temporary fix.

Did the trick. Thanks.

Thanks style="max-width: initial" worked als for me!

I hope there will be a fix soon for this.

This bug even breaks the official pre-made layouts.

For me worked this temporary solution

  .container.fill-height > .row {
    max-width: initial;
    width: 100%;
  }

this isnt fixed!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

milleraa picture milleraa  路  3Comments

gluons picture gluons  路  3Comments

dohomi picture dohomi  路  3Comments

chriswa picture chriswa  路  3Comments

aaronjpitts picture aaronjpitts  路  3Comments