aboutsummaryrefslogtreecommitdiffhomepage
path: root/site/_sass
diff options
context:
space:
mode:
authorGravatar steren <steren@google.com>2017-06-27 17:38:41 +0200
committerGravatar Marcel Hlopko <hlopko@google.com>2017-06-28 10:17:35 +0200
commit9b394a24dc65c794242e98a8a41eb8a60c78367b (patch)
treec515426f9f705d857d5bbb33ddaafe2810b59bc0 /site/_sass
parentebec92588c1b67b85b8c64564105faa62664d4f4 (diff)
Bazel docs: Fix Edit button
The new doc website has a new URL structure. This change adapts the page extraction code. It also restores the CSS for the edit button which got deleted during refactoring. Fix #3272 RELNOTES: None PiperOrigin-RevId: 160279009
Diffstat (limited to 'site/_sass')
-rw-r--r--site/_sass/docs.scss7
1 files changed, 7 insertions, 0 deletions
diff --git a/site/_sass/docs.scss b/site/_sass/docs.scss
new file mode 100644
index 0000000000..95cbf3acb0
--- /dev/null
+++ b/site/_sass/docs.scss
@@ -0,0 +1,7 @@
+.gh-edit {
+ float: right;
+}
+
+.gh-edit.default-hidden {
+ visibility: hidden;
+}