Skip to content

Improve configuration style toggle in documentation #4357

Closed
@fmbenhassine

Description

@fmbenhassine

Currently, the toggle that switches the configuration style between Java and XML is a simple horizontal radio button at the top of each page:

Screenshot 2023-04-24 at 16 01 55

While this does what it was designed for, it still a bit inconvenient if we want to change the configuration style of a sample at the middle/bottom of the page (ie need to go up, change the style, go back down to the sample). It would be great if the radio button is restyled as those used in other projects of the portfolio. Here is an example from Spring Framework docs:

Screenshot 2023-04-24 at 15 59 09

Restyling the button would improve consistency and also the user experience.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions