Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

code block rendering is incorrect on GitBucket 4.16 #16

Open
kazuki43zoo opened this issue Sep 11, 2017 · 4 comments
Open

code block rendering is incorrect on GitBucket 4.16 #16

kazuki43zoo opened this issue Sep 11, 2017 · 4 comments

Comments

@kazuki43zoo
Copy link

See gitbucket/gitbucket#1698.

@kazuki43zoo kazuki43zoo changed the title code block rendering is incorrect on 4.16 code block rendering is incorrect on GitBucket 4.16 Sep 11, 2017
@lefou
Copy link
Member

lefou commented Sep 21, 2017

Thanks for your report.

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

@lefou
Copy link
Member

lefou commented Jul 17, 2018

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
Copy link
Member

lefou commented Jul 17, 2018

Here is a simple way to reproduce:

  • Start a local test server with: make localServer
  • Open http://localhost:8080
  • Login with root/root
  • Create a new repo with empty commit
  • Create a new file Test.adoc with following content
= Test

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

This is a sample java code.

@gemmaro
Copy link

gemmaro commented Jul 27, 2020

GitBucket 4.34.0 allows to use custom CSS, so I think that we can write the following to improve the display (ref: gitbucket/gitbucket#1698 (comment)).

.content {
  min-height: auto;
}

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

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

No branches or pull requests

3 participants