Detecting Different Form Factors #2508
-
Do we have some utility that can detect when the browser has be resized to a phone size? I have temporary solution that I can share on how I handle this but wanted to check with paste. Following are two different images that are displayed in different positions in JSX (not shown here) and with different sizes depending on the form factor of the browser (desktop or phone). |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi @uditadhikari117! I'd like to know a little more about what you're asking. If the question is referring to a utility to sense browser size, then no, we do not have something like that specific to Paste. Is your question specifically about images? I noticed you're not using a responsive image, but wasn't sure if that was a part of your question. Let me know! |
Beta Was this translation helpful? Give feedback.
Hi @uditadhikari117! I'd like to know a little more about what you're asking. If the question is referring to a utility to sense browser size, then no, we do not have something like that specific to Paste. Is your question specifically about images? I noticed you're not using a responsive image, but wasn't sure if that was a part of your question. Let me know!