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

    CSS selector for data table?

    Help
    1
    1
    343
    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.
    • Z
      Zyme last edited by

      I am trying to style my data table using scoped CSS but I simply can’t.

      I applied a custom class to my q-table called “price-table”.

      Then I tried hundreds of different selectors to try and style the elements but nothing is applied when I use scoped.

      When I remove scoped however, it works…

      How do I do this?

      CSS selectors I tested to try and change the th font color for example:

      // Works without "scoped"
      .price-table table th {
        color: red;
      }
      
      1 Reply Last reply Reply Quote 0
      • First post
        Last post