Skip to content

Improvements to component example's resizing #4288

@juuso-vaadin

Description

@juuso-vaadin
Contributor

Number of components benefit from ability to resize the rendered example area. Currently there is bit of variance across the components. It would make sense to style the split panel to be integrated part of the code example widget.

Original style
Image

Proposed style
Image


If you think this issue is important, add a 👍 reaction to help the community and maintainers prioritize this issue.

Activity

jouni

jouni commented on May 7, 2025

@jouni
Member

And instead of being baked into the individual examples, this should be a feature in DSP that authors can easily toggle on when embedding an example on the page. For example:

[.example.resize-horizontal]
--
...
--
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @jouni@juuso-vaadin

        Issue actions

          Improvements to component example's resizing · Issue #4288 · vaadin/docs