q-dialog can i specify coordinates in position attribute?
-
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?
-
Currently you only have the 5 positions.
Scott
-
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: 60pxand in the dialog add property
content-class=“q-dialog__top60”