Is there a way to detect breakpoints or if the device is a mobile in order to apply a custom css snippet to mobile only?
You can make mobile specific css snippets by adding a .is-mobile
to it. You can find many examples for this if you search the forum for it.
Hope that helps.
1 Like
Yes! That is exactly what I needed. I wasn’t sure of the syntax and this helped me find what I needed.
I found this as a helpful ref of how the css styling looks: https://github.com/kepano/obsidian-minimal/blob/c21b942e8c54d542b3434a772f99fda06b197f36/src/css/main.css
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.