Jump to content
  • 0
Sign in to follow this  
TroubleShooter

Delete box dialog doesn't fit on small screens

Question

Hi,

 

I've been trying to design my DataPages to look good on mobile.

When trying to delete data, I noticed that the dialog boxes doesn't fit on small mobile screens. I tried to implement the Responsive DataPages but it still doesn't work.

 

Hoping someone can help.

 

Thanks,

TroubleShooter

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Hi @TroubleShooter,

 

Try pasting this snippet in the Header of your DataPage.

 

These are media queries that set the width of the Dialog Box on shorter devices.

<meta content="width=device-width, initial-scale=1" name="viewport" />

<style> 
  #Alert {
    width: 500px;
  }

@media screen and (max-width: 500px) {
  #Alert {
    width: 315px !important;
  }

}
</style>

 

Tested this on PC but not on actual mobile device. Hope this works for you.

 

Cheers,

DN31337
 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...