Skip to content

Conversation

@panglesd
Copy link
Collaborator

This is the continuation of #673 by @Drup.

I added css to his modification of the layout. I also dropped the commit making the tag a div or a span depending on the number of paragraph: There might be single long paragraph, or two very small paragraph.
Instead, this is treated using css only (with flex-wrap).

You can find here, as an example, the output on a Parsetree doc where comments have been (partly) odocified, as this module contains lots of big variant and product with documentation.

Hopefully, this implements #614.

Copy link
Collaborator

@Julow Julow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like the new layout !

@panglesd panglesd force-pushed the css-docsrc branch 2 times, most recently from 12c51da to 9b333b8 Compare February 21, 2022 08:57
@panglesd panglesd force-pushed the css-docsrc branch 2 times, most recently from 9abbdd4 to 9976b4c Compare February 24, 2022 09:46
@jonludlam jonludlam merged commit d8e7d6f into ocaml:master Feb 24, 2022
@jonludlam
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants