tour: fix editor layout rendering bug at slow page load

Forcing the CodeEditor take its full parent height,
solves the issue when the code content was loading
slower, on Chrome. Also the yellow background was
added only on each line, and not on the editor,
resulting in a white box while lessons were loading.

Fixes golang/tour#544

Change-Id: Ic94ba7bf284267f5b2e3ea359342ebca1a29f2b1
Reviewed-on: https://go-review.googlesource.com/122463
Reviewed-by: Alberto Donizetti <alb.donizetti@gmail.com>
Reviewed-by: Andrew Bonventre <andybons@golang.org>
1 file changed
tree: 15e776229feff8be2b1ca691e3829c52c8402839
  1. content/
  2. gotour/
  3. pic/
  4. reader/
  5. solutions/
  6. static/
  7. template/
  8. tools/
  9. tree/
  10. wc/
  11. .gitignore
  12. app.yaml
  13. AUTHORS
  14. codereview.cfg
  15. CONTRIBUTING.md
  16. CONTRIBUTORS
  17. LICENSE
  18. README.md
  19. TODO
  20. TRANSLATE
README.md

A Tour of Go is an introduction to the Go programming language.

The easiest way to install the tour locally is to install a binary release of Go and then run:

$ go tool tour

To install the tour from source, first set up a workspace and then run:

$ go get golang.org/x/tour/gotour

This will place a gotour binary in your workspace's bin directory.

Unless otherwise noted, the go-tour source files are distributed under the BSD-style license found in the LICENSE file.

Contributions should follow the same procedure as for the Go project: https://golang.org/doc/contribute.html