asciidoctor / gitbucket-asciidoctor-plugin

A GitBucket plug-in that provided AsciiDoc rendering capabilities
Apache License 2.0
18 stars 11 forks source link

code block rendering is incorrect on GitBucket 4.16 #16

Open kazuki43zoo opened 7 years ago

kazuki43zoo commented 7 years ago

See gitbucket/gitbucket#1698.

lefou commented 6 years ago

Thanks for your report.

I think, this is an incompatibility with the newly introduced AdminLTE in gitbucket.

lefou commented 6 years ago

This issue is still present in current master with GitBucket 4.26.

If anybody has an idea how to fix it, I'd be very glad to accept your PR.

lefou commented 6 years ago

Here is a simple way to reproduce:

= Test

.Simple Java class
[source,java]
----
public class Sample {
}
----

This is a sample java code.
gemmaro commented 4 years ago

GitBucket 4.34.0 allows to use custom CSS, so I think that we can write the following to improve the display (ref: https://github.com/gitbucket/gitbucket/issues/1698#issue-255643612).

.content {
  min-height: auto;
}

This is a temporary solution, but I hope it is helpful.