Skip to content

Ensure Full Command Visibility in Installation Terminal #6488

Open
@Jeffrin2005

Description

@Jeffrin2005
Contributor

Description

The command box was long for the box, users needs to scroll horizontally to see the entire command. This is inconvenient because users couldn't see the full command at once.

https://layer5.io/cloud-native-management/meshery/getting-started

issue-1.2.mp4

Expected Behavior

Making the box wider so the entire command fits without scrolling

16-fix.mp4

Screenshots

Environment:

  • Host OS:
  • Browser:

Contributor Resources and Handbook

The layer5.io website uses Gatsby, React, and GitHub Pages. Site content is found under the master branch.

Join the Layer5 Community by submitting your community member form.

Activity

Jeffrin2005

Jeffrin2005 commented on May 24, 2025

@Jeffrin2005
ContributorAuthor

Good First issue.

divyansh-prks

divyansh-prks commented on May 24, 2025

@divyansh-prks

can i take this issue ?

huzfm

huzfm commented on May 25, 2025

@huzfm
Contributor

Can this be assigned to me

vr-varad

vr-varad commented on May 26, 2025

@vr-varad
Contributor

@ashok-2003 You could work on this

ashok-2003

ashok-2003 commented on May 26, 2025

@ashok-2003
Contributor

I think this might break on smaller screens. Should we consider allowing the code to wrap into multiple lines to accommodate the full command? @vr-varad

vr-varad

vr-varad commented on May 26, 2025

@vr-varad
Contributor

ur call make a pr with this and lets see what can be done next

ashok-2003

ashok-2003 commented on May 26, 2025

@ashok-2003
Contributor

sure :)

ashok-2003

ashok-2003 commented on May 27, 2025

@ashok-2003
Contributor

how this looks to you ? @vr-varad ,

Screen.Recording.2025-05-27.014112.mp4
vr-varad

vr-varad commented on May 27, 2025

@vr-varad
Contributor

it would be good if u open the pr to review what changes u made @ashok-2003

linked a pull request that will close this issue on May 27, 2025
leecalcote

leecalcote commented on May 27, 2025

@leecalcote
Member

@LibenHailu, we don't need this line-wrapped. Sticking with one line is ideal. It's ok if the overflow isn't visible. The scrollbar height can be cut in half and/or removed instead.

LibenHailu

LibenHailu commented on May 27, 2025

@LibenHailu
Contributor

Hi @leecalcote, I am having an issue with my laptop It is crashing when I try to run the project, I think the behavior is on chrome, It looks good on firefox, I think the behavior emerges from Highlight component, maybe @ashok-2003 have you tried it with the default props if it looks good we can stick to that, it should look something like this
import Highlight, { defaultProps } from "prism-react-renderer"; <Highlight {...defaultProps} theme={theme} code={code} language="jsx">

ashok-2003

ashok-2003 commented on May 29, 2025

@ashok-2003
Contributor

Hey @LibenHailu, for the issue you're facing, you might want to check the Slack conversation — it could be helpful. Also, thanks for your suggestion! I'll try implementing it and let you know how it goes.

LibenHailu

LibenHailu commented on May 29, 2025

@LibenHailu
Contributor

Thank you @ashok-2003!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    Participants

    @leecalcote@LibenHailu@vr-varad@ashok-2003@huzfm

    Issue actions

      Ensure Full Command Visibility in Installation Terminal · Issue #6488 · layer5io/layer5