Could you post your play TW where the styles aren't working? Especially the 
simple background example should work pretty much flawlessly ... hmm ... 
what browser are you using?

Good luck,
Mark

On Wednesday, July 19, 2017 at 12:10:12 PM UTC-7, Vayu Asura wrote:
>
> Doesn't work when I try. 
> So I made a tiddler, called it modal-css, tagged it with $:/tags/Stylesheet, 
> copied your class description, set content type to TW5 or Static Stylesheet 
> (tried both) and save it. Call a modal and it doesn't change, still 50% of 
> screen, with scrolls, yes, just as before. 
>
> There's something I really don't get about it: tried the example from 
> "Using Stylesheets" article on tiddlywiki.com :
>
> *In addition, custom CSS stylesheets can be defined by tagging a tiddler 
> $:/tags/Stylesheet. Try creating a custom stylesheet now with the following 
> content in order to change the page background colour to red:*
>
> html body.tc-body {
>  background: red;
> }
>
> And that didn't work for me either
>
>
> On Wednesday, July 19, 2017 at 8:50:20 PM UTC+3, Mark S. wrote:
>>
>> On mine, an oversized picture results in a scroll bar along the bottom. 
>> Do you see a scroll bar?
>>
>> The size settings appear to be established by class .tc-modal with 
>> attributes:
>>
>> position: fixed;
>> top: 2em;
>> left: 25%;
>> width: 50%;
>>
>> So the image should be given half of your screen space. After that 
>> another attribute overflow-y: auto creates a scrollbar (at least on my 
>> desktop).
>>
>> You could create a tiddler tagged $:/tags/Stylesheet with :
>>
>> .tc-modal {
>> position: fixed;
>> top: 2em;
>> left: 0%;
>> width: 100%;
>> }
>>
>> to give the image the full screen real-estate.
>>
>> Good luck,
>> Mark
>>
>> On Wednesday, July 19, 2017 at 9:46:49 AM UTC-7, Vayu Asura wrote:
>>>
>>> I'm trying this:
>>>
>>> <$button>
>>> <$action-sendmessage $message="tm-modal" $param="Picture 1.2" />
>>> Click me!
>>> </$button>
>>>
>>> The "Picture 1.2" is an image tiddler. It is a full screenshot so it's 
>>> big. When I click the button (formatted as an image thumbnail) I want to 
>>> get a closer look at the picture at full size.
>>> The problem is that modal window is pretty small and seems fixed width. 
>>> The tm-modal message has no explicit parameters to adjust it. Is there any 
>>> way to manipulate default modal size?
>>>
>>

-- 
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 [email protected].
To post to this group, send email to [email protected].
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/bf457cad-0149-483b-ab58-b42aed7ec72d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to