/* STORY RIVER & TIDDLER WIDTH = 100% */
.story-river {
position: absolute;
width: 100%;
}
.tw-tiddler-frame {
width: 100%;
}
.sidebar-header {
display: none;
}
/* TIDDLER WIDTH & WIDTH OF SIDEBAR */
/* the "width" of the sidebar (x) must be the same as the */
/* value subtracted from the story river width (100% - x) */
.story-river {
position: absolute;
width: calc(100% - 26em);
}
.tw-tiddler-frame {
width: 100%;
}
.sidebar-header {
float: right;
width: 26em;
left: auto;
padding: 70px 0 0 0;
}
@Jeremy
Has it something to do with the Zoomin implementation?
In the past tiddlers had a 'variable width' in Zoomin view, dependent upon the content.
All can be seen in [1]:
1) Select a 'fluid' style (Sidebar tab Styles)
2) Click 'Toggle width/sidebar' button (triangle top right)
3) Click 'Toggle View' button (rectangle top right)
If somebody knows how to correct this Zoomin behavior properly, please tell me.
Thanks in advance.
Cheers,
Ton
[1] http://tw5toolbar.tiddlyspot.com/
--
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.
@Jeremy
Has it something to do with the Zoomin implementation?
In the past tiddlers had a 'variable width' in Zoomin view, dependent upon the content.The zoomin view sets the story container to position: relative, and then positions each tiddler position:absolute within it. That means that the tiddlers will no longer take their width from their container, which was why zoomin tiddlers used to size to their content.A few months ago I changed things so that tiddlers have an explicit width:Does that help?
I know you changed to a fixed with after Dave's complaining.
What I do not understand:
Why is there a 'separate' tiddler width for Zoomin view?
And why is that width 686px, while the story river width is 770px? (just about the difference of 85px in width I see in Chrome, Opera and IE (but not FF).
For me the difference in Classic and Zoomin view is that in Zoomin view only one tiddler is displayed. The rest - the way of displaying - ought to be the same (correct me if I am wrong).
I did have a look into the code of classic.js and zoom.js, see differences (although I don't understand the code):
Classic view does not use absolute position
In Zoomin view I see position absolute and transformOrigin: "50% 50%"
That looks in accordance with what you wrote:But is that still relevant (with a fixed width in Zoomin view) at the moment?
The zoomin view sets the story container to position: relative, and then positions each tiddler position:absolute within it. That means that the tiddlers will no longer take their width from their container, which was why zoomin tiddlers used to size to their content.
I know you changed to a fixed with after Dave's complaining.
What I do not understand:
Why is there a 'separate' tiddler width for Zoomin view?I think it's because for centralised view we need to be able to separately adjust the left and right sides, independently of the width.
And why is that width 686px, while the story river width is 770px? (just about the difference of 85px in width I see in Chrome, Opera and IE (but not FF).
I think 686px is the width of the tiddler itself. The story river has padding, hence it's wider at 770px.For me the difference in Classic and Zoomin view is that in Zoomin view only one tiddler is displayed. The rest - the way of displaying - ought to be the same (correct me if I am wrong).Sadly, that's not right. In Classic view the tiddlers flow in the story river in the usual way. In Zoomin view the tiddlers are position:absolute within the position:relative story river.
I did have a look into the code of classic.js and zoom.js, see differences (although I don't understand the code):
Classic view does not use absolute positionIn Zoomin view I see position absolute and transformOrigin: "50% 50%"That's correct.That looks in accordance with what you wrote:But is that still relevant (with a fixed width in Zoomin view) at the moment?
The zoomin view sets the story container to position: relative, and then positions each tiddler position:absolute within it. That means that the tiddlers will no longer take their width from their container, which was why zoomin tiddlers used to size to their content.I'm not sure what you're asking. The highlighted sentence is just saying that because absolute tiddlers don't take their width from the container we have to set the width explicitly.
Can I ask a more basic but related question - what's the reason for having a fixed width of the white area where tiddlers are displayed? If I expand my browser to cover most of my 15 inch screen, much of the screen is taken up by an unnecessarily wide menu on the right hand side. Is the idea that wide tiddlers are hard to read?
Ton's $:/Sidebar-fluid-width-style at http://tw5toolbar.tiddlyspot.com is supposed to change this, if I understand correctly, but at the moment isn't working with Zoomin. Is that the state of things? I haven't even managed to get it working with Classic, however.
Can I ask a more basic but related question - what's the reason for having a fixed width of the white area where tiddlers are displayed? If I expand my browser to cover most of my 15 inch screen, much of the screen is taken up by an unnecessarily wide menu on the right hand side. Is the idea that wide tiddlers are hard to read?Ton's $:/Sidebar-fluid-width-style at http://tw5toolbar.tiddlyspot.com is supposed to change this, if I understand correctly, but at the moment isn't working with Zoomin. Is that the state of things? I haven't even managed to get it working with Classic, however.
I see the reason for fixed width, but in full screen mode a lot of a real estate is just blank. Maybe that's ok; maybe I don't need to use full screen. But I could see a use for a theme that roughly doubled the width of the tiddler area so that preview wasn't so narrow.
(Or a theme that permitted two tiddlers side by side? That might be useful).
My own interest does not lie in tweaks and modifications, however. I want to resist the temptation to fiddle with TW; I'm going to try to be an efficient default-user.