saqimtiaz / streams

TiddlyWiki plugin for rapid data entry with a keyboard driven workflow. Divide content into smaller tiddlers as you write.
BSD 3-Clause "New" or "Revised" License
58 stars 6 forks source link

Use tiddlywiki's sidebar breakpoint in streams/styles #37

Open postkevone opened 2 years ago

postkevone commented 2 years ago

At the moment streams uses fixed values in the styles tiddler: @media only screen and (max-width: 600px)

It would be ideal to use the default sidebar breakpoint value stored in $:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint for better compatibility and customization.

saqimtiaz commented 2 years ago

@postkevone interesting idea. The problem is of course that the config tiddler you mentioned is theme specific so wont work for someone with a heavily customized theme.

A more flexible option might be to introduce a new config tiddler to control the width used in that media query.

postkevone commented 2 years ago

You are right, perhaps the best solution is to have a config tiddler inside streams itself