Responsive dialogs

UI Components for JSF
Post Reply
leacardenas
Posts: 30
Joined: 24 Aug 2016, 18:52

15 Jun 2017, 20:04

I am using the dialogs that are in primefaces but I have some issues with the responsive layout that it has depending on the device they are seen.

I need something like this: Using the css (i imagine).

If the dialog is used on a computer this are the parameters i need the dialog to have:
width: 800 px;
height: auto;

If the dialog is being looked on a phone or any other device the parameters need to be:
width: auto;
height: auto;

Please if someone can help me.

Melloware
Posts: 3717
Joined: 22 Apr 2013, 15:48

18 Jun 2017, 18:37

For responsive dialogs you may want to look at fitViewPort="true" property.

https://github.com/primefaces/primefaces/issues/899
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1

leacardenas
Posts: 30
Joined: 24 Aug 2016, 18:52

19 Jun 2017, 17:58

Okay thank you

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 12 guests