canonical / canonical/vanilla-framework
Add expand functionality to Code snippet
- Dominant language
- HTML
- Stars
- 983
- Forks
- 216
- Avg merge
- 3d 13h
- Merged PRs (30d)
- 3
Description
## Component/pattern to amend
[Code snippet](https://vanillaframework.io/docs/examples/patterns/code-snippet/dropdown?theme=light)
## Visual



[Link to [Figma]](https://www.figma.com/design/K1xrbxlcBnlqgbveO9lXMU/24.04-Support-portal-improvements?node-id=5108-6596&t=CEfElMqyyLi5NT1V-1)
I also noticed that there is no hoover effect on the current buttons in the header, so I propose we implement this as a base button, so we can inherent it's states styling.
## Context
In the Support portal you can now add Code snippet to the comment and a lot of times it happens that the code is very long (and wide) which requires a lot of scrolling back and forth to be able to read it. To help users read and use the code provided, I propose adding the ability to view the code in full screen mode.
Contributor guide
Assessment
This issue has not been assessed yet.