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

    List item's active state doesn't affect ListItemSection's color when side is set

    Framework
    2
    8
    324
    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
      allenpan last edited by

      Check out https://codepen.io/panzailiang/pen/LwjOJp
      The icon’s color is not in active color.
      Is this a bug or by design?

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

        Try it with avatar instead of side.

        Scott

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

          I know avatar is ok. but sometimes I need to use the side layout.

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

            What do you mean by “side layout”?

            Scott

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

              what I mean is that the padding with avatar is too large. In my page, I use “side” instead of “avatar”, side’s padding is smaller. But I still like the q-icon inside “side” have active color.

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

                The padding with avatar is the same as with side. 16px from the section to the right of left of it. You should use avatar, if you want the icon or even text in the left or right sections to be the same active color.

                https://codepen.io/smolinari/pen/wVyNZR

                Scott

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

                  you are right. the padding is the same. But the avatar have min-width=56px, so the visual effect is avatar having a larger padding.

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

                    Which you can also change yourself. 😁

                    Scott

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