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-dialog can i specify coordinates in position attribute?

    Help
    3
    3
    567
    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.
    • H
      hpawar last edited by

      I have a question about q-dialog. The docs mention about these 5 positions on screen standard | top | right | bottom | left. Can i not customize it to some user defined screen coordinates?

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

        Currently you only have the 5 positions.

        Scott

        1 Reply Last reply Reply Quote 0
        • P
          petr_panek last edited by

          There is a way to position dialog with custom css and content-class dialog property.

          For example if you want dialog with position=“top” move 60px down (add gap between top of the screen), create css (sass):
          .q-dialog__top60
          .q-dialog__inner–top
          top: 60px

          and in the dialog add property
          content-class=“q-dialog__top60”

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