mdx-code icon indicating copy to clipboard operation
mdx-code copied to clipboard

customize max height

Open sibelius opened this issue 7 years ago • 1 comments

For big chunks of code we need a max height and scroll option through the code

is this possible?

sibelius avatar Jan 26 '19 12:01 sibelius

It definitely should be possible. You could try setting a height or maxHeight in CSS on the div, or on the embed itself (https://github.com/pranaygp/mdx-code/blob/master/index.js)

pranaygp avatar Jan 26 '19 17:01 pranaygp