nfte icon indicating copy to clipboard operation
nfte copied to clipboard

Customizing the embed (esp. scale)

Open pixlpa opened this issue 3 years ago • 1 comments

I'd like to create a customized embed (using the React component). My primary interest is creating a custom box size, but exposing other style/layout CSS features to the top level component would also be really helpful. If I understand correctly, the only way to change embed size currently is to copy the contents of components/Embed.jsx into my own custom component, since the max-height/max-width and aspect values aren't exposed to the top level props. Maybe there's a way to achieve this I haven't yet discovered?

pixlpa avatar Apr 26 '21 15:04 pixlpa

Yeah that’s correct, the easiest way is to duplicate and add your own customisations to the render component.

sammdec avatar May 02 '21 16:05 sammdec