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

Paragraphs with inline <code> objects are getting scrollbars / scrollbars don't hide #24

Closed
johndmulhausen opened this issue Mar 1, 2016 · 3 comments
Assignees

Comments

@johndmulhausen
Copy link

http://kubernetes.github.io/docs/user-guide/docker-cli-to-kubectl/

Viewing on Windows/Chrome, to the right of the paragraphs with inline {code} objects there are vertical scroll markers.

I'm also seeing scrollbars even when the code examples in the {pre} tags fit within the box perfectly well.

CC @CreaturesInUnitards

@johndmulhausen
Copy link
Author

Removing the padding: rule from #docsContent code or removing #docsContent p's "overflow-x: auto" rule seems to ditch the right-margin scrollbars. Given the choices I'd rather that paragraphs not ever have scrollbars and we keep the nice padding on inline {code} elements.

@CreaturesInUnitards CreaturesInUnitards self-assigned this Mar 1, 2016
@johndmulhausen
Copy link
Author

Changing overflow-x: to "auto" instead of "scroll" fixes the unnecessary horz bars on {pre} sections; probably wanna change for both {pre} and {code} (not sure how your sass rule set this up)

@johndmulhausen
Copy link
Author

Fixed these myself.

xingzhou pushed a commit to xingzhou/official.kubernetes.github.io that referenced this issue Aug 8, 2017
concepts-services-networking-dns-pod-service-pr-2017-08-01
claudiajkang added a commit to claudiajkang/website2 that referenced this issue Oct 3, 2018
* Initial translation of documentation home (kubernetes#9)
* 번역할 원본 파일 추가 (kubernetes#11)
* Translate tutorials/kubernetes-basics/create-cluster (kubernetes#15)
* Translate tutorials/kubernetes-basics/deploy-app in Korean (kubernetes#16)
* Translate tutorials/kubernetes-basics/expose in Korean (kubernetes#26)
* Translate tutorials/kubernetes-basics/scale in Korean (kubernetes#24)
* Fix typo from 세트 to 셋 according to 외래어 표기법 3.1.1 (kubernetes#31)
* Setup page's header and subheader translate into Korean. (kubernetes#33)
* Translated the welcome page in Korean (kubernetes#32)
* Translate tutorials/kubernetes-basics/update in Korean (kubernetes#35)
* Translate concepts/_index.md in Korean (kubernetes#30)
* Translate tutorials/kubernetes-basics/index.html in Korean (kubernetes#29)
* Translate /tutorials/hello-minikube.md in Korean (kubernetes#18)
* Translate tutorials/kubernetes-basics/explore in Korean (kubernetes#36)
* up-to-date on content/ko (kubernetes#42)
* up-to-date on _index.html (kubernetes#41)
* Translate tutorials/_index.md in Korean (kubernetes#44)
* Update translation on tutorials/hello-minikube.md (kubernetes#45)
* Setup page's header and subheader translate into Korean. (kubernetes#51)
* Update tutorials for consistency (kubernetes#48)
* up-to-date on content/ko (kubernetes#53)

Co-authored-by: June Yi <[email protected]>
Co-authored-by: Claudia J.Kang <[email protected]>
Co-authored-by: zerobig <[email protected]>
Co-authored-by: Lawlait <[email protected]>
Co-authored-by: Ian Y. Choi <[email protected]>
claudiajkang added a commit to claudiajkang/website2 that referenced this issue Oct 3, 2018
* Initial translation of documentation home (kubernetes#9)
* 번역할 원본 파일 추가 (kubernetes#11)
* Translate tutorials/kubernetes-basics/create-cluster (kubernetes#15)
* Translate tutorials/kubernetes-basics/deploy-app in Korean (kubernetes#16)
* Translate tutorials/kubernetes-basics/expose in Korean (kubernetes#26)
* Translate tutorials/kubernetes-basics/scale in Korean (kubernetes#24)
* Fix typo from 세트 to 셋 according to 외래어 표기법 3.1.1 (kubernetes#31)
* Setup page's header and subheader translate into Korean. (kubernetes#33)
* Translated the welcome page in Korean (kubernetes#32)
* Translate tutorials/kubernetes-basics/update in Korean (kubernetes#35)
* Translate concepts/_index.md in Korean (kubernetes#30)
* Translate tutorials/kubernetes-basics/index.html in Korean (kubernetes#29)
* Translate /tutorials/hello-minikube.md in Korean (kubernetes#18)
* Translate tutorials/kubernetes-basics/explore in Korean (kubernetes#36)
* up-to-date on content/ko (kubernetes#42)
* up-to-date on _index.html (kubernetes#41)
* Translate tutorials/_index.md in Korean (kubernetes#44)
* Update translation on tutorials/hello-minikube.md (kubernetes#45)
* Setup page's header and subheader translate into Korean. (kubernetes#51)
* Update tutorials for consistency (kubernetes#48)
* up-to-date on content/ko (kubernetes#53)

Co-authored-by: June Yi <[email protected]>
Co-authored-by: Claudia J.Kang <[email protected]>
Co-authored-by: zerobig <[email protected]>
Co-authored-by: Lawlait <[email protected]>
Co-authored-by: Ian Y. Choi <[email protected]>
mikutas pushed a commit to mikutas/k8s-website that referenced this issue Feb 24, 2021
* stuff

* Update debugging for new features

* Update for copy and edits
WangXiangUSTC added a commit to WangXiangUSTC/website that referenced this issue Oct 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants