Replies: 2 comments 4 replies
-
Hi @cluber22, you can start from the 'Cards' layout template as it already should be mobile compatible:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi @FranckyC, Thanks for the information, I've been trying to work it out using https://microsoft-search.github.io/pnp-modern-search/usage/search-results/layouts/ My issue is that this is targetted towards "documents" and I am looking to display people, with about 5 fields of data in there. How is this possible? Thanks again. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
This is kind of related to #2063 however my issue is more of changing layouts depending on device viewport.
I've created a custom template with extra fields for the People search which is working nice, it's a 2 column layout. My issue is when viewing the page on mobile, two columns doesn't work and it needs to be one column on mobile.
Now I have played around with using flexbox and media queries, but it doesn't seem to like it.
Is there a standard way of doing this? I am currently editing the "results template" on page 2 of the configuration.
Results Template CSS
Beta Was this translation helpful? Give feedback.
All reactions