https://discord.gg/botpress logo
Code Editor full-width button
# 👀feature-requests
w
I really like the new code editor for Execution Cards, Actions, and Schemas. I believe it would be a great addition to have an option to enlarge it to the full width of the container (
<div role="dialog" class="rt-BaseDialogContent rt-DialogContent ..." ...>
). https://cdn.discordapp.com/attachments/1433732112447570000/1433732112833314878/image.png?ex=6905c295&is=69047115&hm=39f4b19fb1887fca0f2193bd0f2127ea57b3858175918a385372d09d9622f730&
w
while that's not implemented, pasting this in the [stylus extension](https://chromewebstore.google.com/detail/stylus/clngdbkpkpeebahjckkjfobafhncgmne?hl=en) works: ``´css #radix-\:r5l\: { --max-width: 90vw !important; } #radix-\:r5o\: { --max-width: 90vw !important; } ```
w
Why use extensions or anything else if I have a button, or if the editor has a maximum width by default?
w
oh yeah i'm not recommending against your suggestion
i agree 100%
i'm just presenting a workaround while it isn't implemented
w
Thanks, bro! 😊 I never thought your suggestion was against the feature. I already used custom CSS to fix vertical scrolling for schemas before it was resolved
b
Hey @white-nest-40686 @wide-umbrella-5226, I'll pass this along to the responsible parties!
p
Hey @wide-umbrella-5226 @white-nest-40686, I passed this feedback along to the right people. I'll keep you updated.