No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    <q-input /> with float-label has no margin or padding top

    Framework
    q-input
    4
    5
    1596
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      abdelaziz18003 last edited by

      I am migrating from quasar 0.14.7 to 0.15.6. I am seeing a weird behaviour concerning <q-input /> elements so there is no margin or padding above them and they are looking stack to each other (see the image below)

      0_1520779348962_Untitled.png

      On <q-input /> documentation page it looks OK on the preview mobile screen. But when I took a snippet from it’s source code to jsfiddle I saw the same behaviour I was seeing when migrating. Is there anything I am doing wrong ?

      issue on jsFiddle

      1 Reply Last reply Reply Quote 0
      • M
        mitchellmonaghan last edited by

        When I saw this I just assumed it was working as designed. I added the q-mt-md class for the amount of margin I wanted.

        1 Reply Last reply Reply Quote 0
        • benoitranque
          benoitranque last edited by

          Working as intended. If you want padding add it yourself

          1 Reply Last reply Reply Quote 0
          • a47ae
            a47ae last edited by

            Also see the upgrade guide, this is a change from 0.15 and intended to be more flexible: http://quasar-framework.org/guide/quasar-upgrade-guide.html#Form-Components

            1 Reply Last reply Reply Quote 0
            • A
              abdelaziz18003 last edited by

              thanks @a47ae @benoitranque @mitchellmonaghan … I didn’t see that the default margin in removed in 0.15 and I thought there is something wrong with me. problem solved. Thanks

              1 Reply Last reply Reply Quote 0
              • First post
                Last post