Git Product home page Git Product logo

Comments (7)

johnleider avatar johnleider commented on May 9, 2024

I guess I'm not sure how you are drawing that conclusion. Could you explain further? I'm not the first come up with this grid naming structure, it's pretty well used everywhere.

from vuetify.

mfferreira avatar mfferreira commented on May 9, 2024

In the documentation example the structure is the following:

v-row
    v-col
    v-col
    v-col
    v-col
    v-col
    v-col

Which should mean that there's one row with 6 columns (let's ignore the for-loops).

But in reality, I think the markup should be:

v-row
    v-col
v-row
    v-col
v-row
    v-col
v-row
    v-col
v-row
    v-col
v-row
    v-col

Basically what I'm saying is that the markup is telling me there's only one row, when there's really 6.
Unless I'm totally confusing something here of course.

from vuetify.

johnleider avatar johnleider commented on May 9, 2024

The columns are dynamic and part of a flex box. In order for that to work, they must be contained within the same row. Once you move them into different rows, they will always be on a new line.

from vuetify.

mfferreira avatar mfferreira commented on May 9, 2024

Right, that's what I found out when trying to add a few v-row's, which didn't make sense to me.

So if v-row doesn't really add new rows because v-col does it automagically, what's it purpose?

from vuetify.

Pwntus avatar Pwntus commented on May 9, 2024

@mfferreira I guess you're not taking into consideration that when the total width of the cols exceed the row-width they will break line. This is perfectly normal. https://jsfiddle.net/5ohybqoe/

from vuetify.

mfferreira avatar mfferreira commented on May 9, 2024

@Pwntus I totally understand that.

But actually I got it working as expected now. I'm not sure what I was doing wrong...
Closing.

from vuetify.

lock avatar lock commented on May 9, 2024

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. Please direct any non-bug questions to our Discord

from vuetify.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.