Custom CSS: Fixed Breadcrumb list


#1

This CSS makes Breadcrumb list to display always top of a document.

Normally, Breadcrumb list is scrolled and moved to upper invisible place when you scroll a document.
This CSS blocks that.

Screencast: https://youtu.be/9wV2NYQ2U0U

.DocumentTools {
    position: static;
    z-index: 2;
}

.DocumentContainer {
    overflow-y: unset;
}

.DocumentBreadcrumb {
    width: inherit;
    height: 1.2em;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
    margin: 0;
    padding-top: 0px;
}

.is-mobile .DocumentBreadcrumb-item {
    position: relative;
    top: -1em;
}

.is-mobile .DocumentBreadcrumb-delimiter {
    position: relative;
    top: -1em;
}

.Document {
    position:fixed;
    overflow-y: scroll;
    overflow-x: hidden;
    top: 1.2em;
    height: calc(100% - 2em);    
}

.is-mobile .Document {
    top: 2em;
}

#2

Edited for mobile app.


#3

Can you post a screenshot example? I don’t understand.

[edit: nevermind, I get it now, I looked up breadcrumb trail, it is UI term for the document > item 1 > child 1 > grandchild 1 text that is at the top of Dynalist when you drill into items.]


#4

@George3 Thanks for reply.
I recorded screencast.
You can see it at https://youtu.be/9wV2NYQ2U0U


#5

Fixed a bug (The search box was invisible on PC).


#6

This looks useful!

But why does DynaList even hide this? Particularly on mobile with a very large document, this lack of context/mobility is a usability issue.


#7

Yes, as I get into having longer and longer documents, I find that having this as a built in feature would be very useful.