Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code Group Component #46

Closed
JessicaSachs opened this issue Feb 13, 2022 · 3 comments · Fixed by #50
Closed

Code Group Component #46

JessicaSachs opened this issue Feb 13, 2022 · 3 comments · Fixed by #50
Labels
enhancement New feature or request

Comments

@JessicaSachs
Copy link
Contributor

I need a VTCodeGroup for the docs -- I rolled my own, but it's coupled to what I'm putting inside of it. We should have one that matches the theme and is generic.

vuejs/docs#1493 (comment)

@JessicaSachs
Copy link
Contributor Author

JessicaSachs commented Feb 16, 2022

If I wanted to pick this up is there any issue with the UI I chose in the PR above? @kiaking maybe? (or Evan, idk who to summon)

https://vuejs.org/guide/scaling-up/testing.html#component-testing see the code block in here.

@kiaking
Copy link
Member

kiaking commented Feb 17, 2022

@JessicaSachs I think the UI is matching the taste of the whole theme 👍 Great job! If I may comment, maybe we could:

  1. Make tab font size to 14px? Feels just a little bit big. I don't know 🤔
  2. Add text-overflow: ellipsis;, for Mobile design (more about this in below)

Currently the tag names get wrapped at mobile view.

Screen Shot 2022-02-17 at 9 45 33

If not doing text-overflow: ellipsis;, then maybe making the font-size and line-height smaller and make it vertically centered might be nice too...?

Or, set white-space: nowrap; and make it scroll horizontally like the code block itself.

@kiaking kiaking added the enhancement New feature or request label Feb 17, 2022
@JessicaSachs
Copy link
Contributor Author

JessicaSachs commented Feb 17, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants