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

    Text of QInputs overlap with FlexCSS

    Framework
    4
    10
    1035
    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.
    • S
      stefanvh last edited by

      I am not sure if I am doing something wrong or if this is a bug.
      The problem is that q-input fields will overlap when they are used inside QCardMain.
      Here is an example:
      https://codepen.io/anon/pen/zMNjjG

      It works fine for widths smaller than 992 pixels, but when the width increases the inputs are placed next to each other and the content overlaps. I have tried a lot of different things, but I can’t seem to get it to work so some help would be appreciated.

      example

      Thanks

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

        can’t reproduce that one in your image, maybe add a class gutter-sm on the div containing your 2 q-input’s. https://codepen.io/anon/pen/yQMOOL

        1 Reply Last reply Reply Quote 0
        • s.molinari
          s.molinari last edited by

          Also use col-6 on both divs, to get the inputs evenly spaced. https://codepen.io/anon/pen/BGWLRm

          Scott

          1 Reply Last reply Reply Quote 0
          • S
            stefanvh last edited by

            Thanks.
            With col-6 it seems to work fine, but using three inputs next to each other with col-4 causes problems:
            https://codepen.io/anon/pen/XyMzra

            alt text

            1 Reply Last reply Reply Quote 0
            • s.molinari
              s.molinari last edited by

              What browser are you using? I don’t see the same thing.

              Also, is there a reason why you are limiting the card to 1/3 of the available screen width?

              Scott

              1 Reply Last reply Reply Quote 0
              • S
                stefanvh last edited by

                I am using Firefox. In Chrome it seems to work fine indeed. I forgot to check the behavior in different browsers than Firefox…
                alt text
                So it is a bug, but is it a bug with Quasar or Firefox?

                The limiting width of a QCard seems to be default behaviour. The only way to get it to stretch across the whole width of the screen is by applying col-12, by default it seems to match col-4.

                s.molinari 1 Reply Last reply Reply Quote 0
                • s.molinari
                  s.molinari @stefanvh last edited by

                  @stefanvh - I’m using FF (63.0.1) on Win 10 and don’t see the issue.

                  0_1542222595982_7fdc042f-9624-40a0-aba3-215adeacf567-image.png

                  Scott

                  1 Reply Last reply Reply Quote 0
                  • S
                    stefanvh last edited by

                    Hmm, weird. I first noticed it on a Windows 10 laptop with a low resolution. Then I could reproduce it on a Linux machine in the responsive design mode of Firefox.
                    I’ll try to figure out what the problem is, but there does not seem to be an obvious solution.

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

                      text do overlap when q-card is set to a column less than 4 in firefox. kinda same with this issue https://forum.quasar-framework.org/topic/2934/issue-with-input-before-after-icons-in-firefox.

                      1 Reply Last reply Reply Quote 0
                      • Z
                        zeidanbm last edited by zeidanbm

                        Trying to set the width on the input element, seems to fix the issue (like width: 100% instead of width: auto). This might have to do with input having default width by browsers which will differ from firefox to chrome to… This stackoverflow post might be of good use.

                        0_1543371183992_overflow1.png

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