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. 



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/db88d8c7-0eb5-493e-ad1c-8bac56cf114f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to