Comments (16)
Yes, sorry, it should be false. My bad. Hope that solved your problem.
from flems.
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.
Nono, I was already fixing other small issues in the same area, so it's perfect to look at now ;)
from flems.
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.
The container changes height but Flems is still squashed
from flems.
Setting autoHeight = false
allows the content fill to the size of the container.
from flems.
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.
Ah, I see. Never understood the logic, but now I do. :)
from flems.
Trying not to be a pest but any progress on this issue?
from flems.
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.
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.
Yep, that's it.
Static height is working, just not optimal.
If you got something else pressing I can certainly wait.
from flems.
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.
Awesome! Check it out at http://mike-ward.net/2018/05/09/mithril-rising/
from flems.
Yay.. that's great.
Maybe a max-height of somewhere between 600-800 would be good generally though?
from flems.
I'm OK with no max height.
from flems.
Related Issues (20)
- Enable `export $ from` shorthand
- HTML script tags are async by default HOT 7
- "m is not defined" External unpkg modules not working in latest Firefox HOT 1
- auto compile failed HOT 1
- Reason/benefit of loading html file instead of data/blob/srcdoc/blank+document.write in iframe? HOT 2
- Markdown Support HOT 1
- Flems.io of the sample in README - URL points to next.flems.io HOT 1
- 2 things that could improve flems
- Customize compiler bug HOT 1
- sidebar HOT 3
- Perf issues with large Flems (and assorted suggestions)
- regeneratorRuntime is not defined (with Babel-transpiled code that uses generators) HOT 2
- FLEMS is not keyboard operable; inaccessible, with non-semantic interactive elements HOT 1
- Launch editor HOT 1
- Error when embedding flems
- How to enable the menu and other features HOT 1
- auto complete HOT 2
- Black foreground color + No syntax highlighting HOT 7
- allow presentation on iframe sandbox
- Remove Babel auto-switch HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
blocks to Flems
from flems.