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

    Why can't I custom q-tree__node--selected?

    Help
    1
    1
    101
    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.
    • W
      weide last edited by

      I want to custom selected node’s style,so I write some css like this:

          .q-tree {
      
            .q-tree__node {
              .q-tree__node--selected {
                background: blue;
              }
      
              .q-tree__node--selected {
                .q-tree__node-header-content {
                  .node-label {
                    color: blue !important;
                  }
                }
              }
      
            }
          }
      

      It seems ‘note-label’ works fine,but q-tree__node–selected not worked…

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