Show HN: Leaflet.pub – a web app for creating and sharing rich documents
31–40 of 61 posts
Re: Show HN: Leaflet.pub – a web app for creating and sharing rich documents
#32Can you edit a button after adding it?
Re: Show HN: Leaflet.pub – a web app for creating and sharing rich documents
#33I like the icons. Can you edit a button after adding it?
Re: Show HN: Leaflet.pub – a web app for creating and sharing rich documents
#34Just as an FYI: "leaflet" is the name of a popular web mapping JS library. https://leafletjs.com/ May or may not be relevant for you (and is definitely a very different field/product), but if you're releasing client libraries/SDKs of any sort, it might be good to be aware of. There's a large ecosystem of plugin libraries named "leaflet-foo" or "foo-leaflet" etc in addition to the "main" one. If you start releasing an…
Re: Show HN: Leaflet.pub – a web app for creating and sharing rich documents
#35That's very impressive, super slick. The subpage preview on the parent page works so well I went digging into the source code.
Re: Show HN: Leaflet.pub – a web app for creating and sharing rich documents
#36Re: Show HN: Leaflet.pub – a web app for creating and sharing rich documents
#37Re: Show HN: Leaflet.pub – a web app for creating and sharing rich documents
#38my only nitpick at this moment: i like to see my scrollbars on a desktop
Re: Show HN: Leaflet.pub – a web app for creating and sharing rich documents
#39Still playing around with it but I have to say, I absolutely adore the side-scrolling feature!
This really is a big deal. It leads to people flat-out missing that things are scrollable. Even after I noticed it was doing that in one of the demos, I missed the scrolled content in the other demo for a while.
This needs two changes: firstly, ditch the .no-scrollbar class; secondly, on your .overflow-y-scroll and .overflow-x-scroll, replace the value ‘scroll’ with ‘auto’. (It’s a case of bad naming, compounded by the advent of overlay scrollbars which make it easy to miss that it’s forcing scrollbars, not merely allowing scrollbars, and inconsistent with almost all of the rest of CSS in that a value named ‘auto’ is not the default. ‘scroll’ has only ever had approximately three rare but semi-legitimate use-cases, and at least two of them were rendered obsolete with the advent of the ‘scrollbar-gutter’ property. My personal opinion is that `overflow: scroll` should be officially deprecated, linters should error on it, and browsers should even consider replacing it with `overflow: auto` as an intervention.)
Re: Show HN: Leaflet.pub – a web app for creating and sharing rich documents
#40Just as an FYI: "leaflet" is the name of a popular web mapping JS library. https://leafletjs.com/ May or may not be relevant for you (and is definitely a very different field/product), but if you're releasing client libraries/SDKs of any sort, it might be good to be aware of. There's a large ecosystem of plugin libraries named "leaflet-foo" or "foo-leaflet" etc in addition to the "main" one. If you start releasing an…