Skip to content

Commit c8f2699

Browse files
author
Miguel Acero
committed
content/static/css: remove commented line to enable executable examples
This change replaces display: none; with display: flex; to enable executable examples in in the documentation page. The HTML changes used for this CSS change requires the executable-examples feature flag. Updates golang/go#36865 Change-Id: I2cb62438663ecbfbccfe1f5b4b6b1e2dbe3e3916 Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/253599 Reviewed-by: Julie Qiu <[email protected]>
1 parent 97f6af5 commit c8f2699

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

content/static/css/stylesheet.css

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1252,8 +1252,7 @@ code {
12521252
}
12531253
.Documentation-exampleButtonsContainer {
12541254
align-items: center;
1255-
/* This will change back to display: flex; when we enable playground buttons */
1256-
display: none;
1255+
display: flex;
12571256
justify-content: flex-end;
12581257
margin-top: 0.5rem;
12591258
}

0 commit comments

Comments
 (0)