aboutsummaryrefslogtreecommitdiff
path: root/_content/css/styles.css
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2021-11-30 15:42:36 -0500
committerRuss Cox <rsc@golang.org>2021-11-30 23:33:37 +0000
commit90f8f780d1b4ef2c89a5e0985d93a9628eefef6e (patch)
treeeaab0249489c0279578f70ca47c1895f6b4d2418 /_content/css/styles.css
parent4c754041005c901a484df4982ea6fa22dd64a6f4 (diff)
downloadgo-x-website-90f8f780d1b4ef2c89a5e0985d93a9628eefef6e.tar.xz
_content: fix go.dev/play share not to reload page
Mainly the JS invocation was set up wrong. Also add the display box for the share URL back, and style the share URL box and the Go release box the same as the example selector box. Also hide the example box when sharing. This used to happen somewhat accidentally on play.golang.org. Make it intentional. Fixes golang/go#49766. Change-Id: Ib297feff123f6fdabebe24cf868a54874c5afc83 Reviewed-on: https://go-review.googlesource.com/c/website/+/368014 Trust: Russ Cox <rsc@golang.org> Run-TryBot: Russ Cox <rsc@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Jamal Carvalho <jamal@golang.org>
Diffstat (limited to '_content/css/styles.css')
-rw-r--r--_content/css/styles.css4
1 files changed, 2 insertions, 2 deletions
diff --git a/_content/css/styles.css b/_content/css/styles.css
index b478ee55..77695f92 100644
--- a/_content/css/styles.css
+++ b/_content/css/styles.css
@@ -3832,7 +3832,7 @@ a.error {
gap: 0.5rem;
justify-content: flex-end;
}
-.Playground-selectExample {
+.Playground-selectExample, .Playground-selectGoVersion, .Playground-shareURL {
background-color: white;
border-radius: 3px;
border: 0.0625rem solid #979797;
@@ -3857,7 +3857,7 @@ a.error {
.Playground-controls {
flex-wrap: nowrap;
}
- .Playground-selectExample {
+ .Playground-selectExample, .Playground-selectGoVersion, .Playground-shareURL {
margin: 0 0.4375rem 0 0;
width: auto;
}