Proektsoftbg / Calcpad

Free and open source software for mathematical and engineering calculations.
https://calcpad.eu
MIT License
339 stars 42 forks source link

Issue with div #331

Open RenanMG84 opened 1 month ago

RenanMG84 commented 1 month ago

Hi @Proektsoftbg !

The "div " fold is not hiding totally the equations or texts as you can see in the figure below. It happens all the time. I tried to do some html and css code to fix it but without sucess. Could you help me please? issue

Thank you !

Ps: I dont know much about html code, I just copied the code from calcpad help:   '

  'Heading (click to unfold)   'Content to be folded   '

Proektsoftbg commented 1 month ago

Hi!

This is maybe because you do not have paragraphs around bold Html tags <b> </b> . By default, Calcpad automatially puts each line of simple text or equation in a separate paragraph <p> </p>.

But it does not do that when you use your own Html, because it is possible to break it (e.g. in case of tables). So you have to put it by yourself: <p><b> </b></p>. If you do that, probably you will not have problem with the content flow.

RenanMG84 commented 1 month ago

Thank you!! It worked ! But just to give feedback, there's still a little bit of code left showing up! ! See below. issue 2