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

Changing the height of the ace diff editors? #76

Closed
SuperSajuuk opened this issue Jul 12, 2020 · 1 comment
Closed

Changing the height of the ace diff editors? #76

SuperSajuuk opened this issue Jul 12, 2020 · 1 comment

Comments

@SuperSajuuk
Copy link

SuperSajuuk commented Jul 12, 2020

Hi, I've started using AceDiff to compare changes between two forms of config. One problem: the height of the editor is tiny and I'd like to make it longer so that more of the config can be seen.

How would I set the height of the AceDiff editors to fill more of the screen? I could not find anything about how to do this in the documentation.

Thanks!

@SuperSajuuk
Copy link
Author

SuperSajuuk commented Jul 12, 2020

As an additional, how do I make it so the ace diff editors work within a bootstrap modal and don't overlap any text before the editors and expand the modal so the modal length is top to bottom of the screen?

EDIT: I found a way of setting the height of the editors and making them work inside a modal, the only problem is that the SVG gutter has such a huge height that it triggers the scrollbar in Bootstrap with the overflow-auto class defined. Is there a way to force the gutter to be the same height as the editors instead of being a huge height that goes out of limits?

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

No branches or pull requests

1 participant