Hi Thomas,
that is perfect!
Thanks

Hi all;
below you find the complete replacement for
$:/themes/tiddlywiki/vanilla/sticky
if you want a sticky editbar. I added a border below the edittoolbar that makes you see better, when the top of the text is hidden.

enjoy
Jan

<$reveal state="$:/themes/tiddlywiki/vanilla/options/stickytitles" type="match" text="yes">
``
.tc-tiddler-title {
    position: -webkit-sticky;
    position: -moz-sticky;
    position: -o-sticky;
    position: -ms-sticky;
    position: sticky;
    top: 0px;
        font-size: 0.9em;
        padding-bottom: 1px;
    background: ``<<colour tiddler-background>>``;
    z-index: 10;
}
.tc-tiddler-controls.tc-titlebar{
    height: 33px;
        margin-top: -8px;
}

.tc-editor-toolbar {
    position: -webkit-sticky;
    position: -moz-sticky;
    position: -o-sticky;
    position: -ms-sticky;
    position: sticky;
    top: 25px;
    background: ``<<colour tiddler-background>>``;
    z-index: 10;
    border-bottom: 0.55px solid #CCC;
}
``
</$reveal>

Am 01.02.2017 um 07:42 schrieb Thomas Elmiger:
Hi Jan

Guess you could add something like:

height: 32px;
margin-top: -6px;

to: .tc-tiddler-controls.tc-titlebar

Hint: As always I opened your link quickly on my tiny iPhone SE: When you switch to edit mode there, the stickyness is gone as soon as you activate the edit field (keyboard visible => editortoolbar no longer sticky).

Have a great day!
Thomas
--
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] <mailto:[email protected]>. To post to this group, send email to [email protected] <mailto:[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/d3c259cc-69f9-4743-9bbd-e1bf3d9243c1%40googlegroups.com <https://groups.google.com/d/msgid/tiddlywiki/d3c259cc-69f9-4743-9bbd-e1bf3d9243c1%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

--
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/58931920.7040907%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to