@media rule is used in media
queries to apply different styles for different media
types/devices" BurningTreeC,
I apologize but I am not a Web Developer. I trying looking for "@media" but cannot find the code you had quoted. Moreover, I also installed dynaview but it did not really made the wiki adapt to the width of my browser even after enabling the checkbox.
Control Panel is also stuck. It always shows now even after I had uninstalled dynaview.
Help.
Regards,J
On Tuesday, June 19, 2018 at 7:49:03 AM UTC-7, BurningTreeC wrote:Hi J, a lot can be accomplished with pure cssA media query allows to define styles if the browser width is below/above a certain value:
@media (max-width: 960px) {
.myclass {width: 50px;}
}
@media (min-width: 960px) {
.myclass {width: 500px;}
}
alternativelly, if media queries are not enough, there's the dynaview plugin that stores the browser-window width and height in state tiddlers (if you check the checkbox in the dynaview-plugin's config)I use it in combination with the formulas plugin to reveal styles when the value stored is lower/higher than a certain value... and it's handy if one wants to set conditions based on the browser-width and height using the list widget
--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/475e6104-7fc2-41b4-a8db-8287993aaf7a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.