GithubHelp home page GithubHelp logo

Comments (16)

tormodvm avatar tormodvm commented on August 29, 2024 1

Yes, sorry, it should be false. My bad. Hope that solved your problem.

from flems.

porsager avatar porsager commented on August 29, 2024 1

Yeah the thinking was exactly for a case like this where replacing code blocks with actual working code would keep the layout as expected.. I'll try to see why it's not behaving correctly now..

from flems.

porsager avatar porsager commented on August 29, 2024 1

Nono, I was already fixing other small issues in the same area, so it's perfect to look at now ;)

from flems.

tormodvm avatar tormodvm commented on August 29, 2024

autoHeight makes the flems container height 100% of it's parent.
It doesn't work inside <code> , because code is display: inline by default.

This css: code { display: block; height: /* whatever */ } will make height work.

from flems.

mike-ward avatar mike-ward commented on August 29, 2024

The container changes height but Flems is still squashed

image

from flems.

mike-ward avatar mike-ward commented on August 29, 2024

Setting autoHeight = false allows the content fill to the size of the container.

from flems.

porsager avatar porsager commented on August 29, 2024

autoHeight: true was supposed to set the height to show the entire content of the first selected file, but it appears there's a bug, and that it just ends at the minHeight value.

from flems.

tormodvm avatar tormodvm commented on August 29, 2024

Ah, I see. Never understood the logic, but now I do. :)

from flems.

mike-ward avatar mike-ward commented on August 29, 2024

Trying not to be a pest but any progress on this issue?

from flems.

porsager avatar porsager commented on August 29, 2024

Oh sorry mike, I hadn't given it any priority since I thought the static height was ok for you for now.. I'll try to look into it right away ;)

from flems.

porsager avatar porsager commented on August 29, 2024

Just to be sure, the functionality that isn't working is for it to set it's height to show the full code of the initially selected file. That's also the thing you're needing right?

from flems.

mike-ward avatar mike-ward commented on August 29, 2024

Yep, that's it.

Static height is working, just not optimal.

If you got something else pressing I can certainly wait.

from flems.

porsager avatar porsager commented on August 29, 2024

Hi @mike-ward I got caught up with some other fixes and improvements, but autoHeight should work now. Let me know if everything works as you expected ;)

from flems.

mike-ward avatar mike-ward commented on August 29, 2024

Awesome! Check it out at http://mike-ward.net/2018/05/09/mithril-rising/

from flems.

porsager avatar porsager commented on August 29, 2024

Yay.. that's great.

Maybe a max-height of somewhere between 600-800 would be good generally though?

from flems.

mike-ward avatar mike-ward commented on August 29, 2024

I'm OK with no max height.

from flems.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.