From 64890f4e2b733655fee5077a5435a8812404c3a3 Mon Sep 17 00:00:00 2001 From: Andrew Bonventre Date: Mon, 11 Dec 2017 13:51:56 -0500 Subject: [PATCH] godoc: fix missing search icon on /dl and correct borders Some default browser stylesheets set a border radius on diff --git a/godoc/static/godoc.html b/godoc/static/godoc.html index e0caaa8957..fb26901c83 100644 --- a/godoc/static/godoc.html +++ b/godoc/static/godoc.html @@ -38,7 +38,7 @@ {{if .Playground}} Play {{end}} - + diff --git a/godoc/static/static.go b/godoc/static/static.go index b41e911031..8197d89460 100644 --- a/godoc/static/static.go +++ b/godoc/static/static.go @@ -502,7 +502,7 @@ var Files = map[string]string{ {{if .Playground}} Play {{end}} - + @@ -3183,7 +3183,9 @@ input#search + button { background-color: #375EAB; color: white; border: 1px solid #375EAB; + border-top-left-radius: 0; border-top-right-radius: 5px; + border-bottom-left-radius: 0; border-bottom-right-radius: 5px; margin-left: 0; cursor: pointer; diff --git a/godoc/static/style.css b/godoc/static/style.css index 036e4177a4..e4d1e4c387 100644 --- a/godoc/static/style.css +++ b/godoc/static/style.css @@ -306,7 +306,9 @@ input#search + button { background-color: #375EAB; color: white; border: 1px solid #375EAB; + border-top-left-radius: 0; border-top-right-radius: 5px; + border-bottom-left-radius: 0; border-bottom-right-radius: 5px; margin-left: 0; cursor: pointer;