Hi Gents,
In looking around to see if there is something useful I can do to
contribute to Tiddlywiki, I thought I would have a look at this problem
with the width of the displayed tiddler in Zoomin mode with the sidebar
hidden. I note that this is still a problem with the latest release, so I
raised an issue (#933)
to get it on the action list.
However, I have been applying my very limited CSS skills to see if I can
find a fix and found that making the following change to
themes/tiddlywiki/vanilla/base.tid seems to do the trick:
Change:
<<if-no-sidebar "
.tc-tiddler-frame {
width: 100%;
}
">>
To:
<<if-no-sidebar "
.tc-tiddler-frame {
width: calc(100% - 84px);
}
">>
Does this make sense, or am I missing something?
I welcome any feedback and would be happy to propose a pull request if I am
on the right track. I am also happy to be corrected - just trying to learn
more of the inner workings of tiddlywiki.
Regards,
Mal
On Thursday, 10 July 2014 02:38:34 UTC+10, Jeremy Ruston wrote:
>
> Hi Stephen
>
> Apologies for the late reply.
>
> I can confirm the problem with the right margin of tiddlers in zoomin mode
> with the sidebar hidden. I'm planning to address it for 5.0.14,
>
> Best wishes
>
> Jeremy
>
>
> On Sun, Jul 6, 2014 at 9:27 PM, 'Stephen Kimmel' via TiddlyWiki <
> [email protected] <javascript:>> wrote:
>
>> This is not a major issue but I can't help the thought that it wasn't
>> what was intended. Perhaps this comment is best thought of as a suggestion
>> for doing things slightly differently.
>>
>> Working with 5.13, with the story view set to Zoomin, I find that the
>> hide the right menu button (the right pointing chevron in the upper right
>> hand corner) doesn't work as I expected. Instead of simply making the menu
>> vanish, it causes the visible tiddler to expand until part of the tiddler
>> is off the screen to the right. The edge of the text falls almost exactly
>> at the right edge of the screen. At the same time, the left margin is
>> preserved as it was before the menu was hidden. What I expected was the
>> tiddler to either fill the screen with no left margin or to have the same
>> margin on both the right and the left.
>>
>> It looks to me as though the program has tried to calculate the required
>> size to make the width of the tiddler exactly match the width of the
>> screen. When sent to the screen with the fixed left margin, the resulting
>> tiddler ran over the display by the width of the left margin.
>>
>> Perhaps the width of the tiddler in Zoomin story view with the menu
>> hidden shouldn't be calculated without accounting for the margin but as
>> equaling the width of the screen less twice the standard left margin.
>>
>> Just a suggestion
>>
>> Stephen
>>
>> --
>> 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] <javascript:>.
>> To post to this group, send email to [email protected]
>> <javascript:>.
>> Visit this group at http://groups.google.com/group/tiddlywiki.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> Jeremy Ruston
> mailto:[email protected] <javascript:>
>
--
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.