From cb8317ceadae4b33a82bd5071b8d8cf9ab791039 Mon Sep 17 00:00:00 2001 From: JJ Geewax Date: Fri, 8 May 2015 13:42:48 -0400 Subject: [PATCH] Fix #555 - Permalinks have larger click target. --- docs/site/components/docs/docs.html | 6 ++++-- docs/site/css/main.css | 11 ++++------- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/docs/site/components/docs/docs.html b/docs/site/components/docs/docs.html index b1345f72ddd..237d9e52ffe 100644 --- a/docs/site/components/docs/docs.html +++ b/docs/site/components/docs/docs.html @@ -127,8 +127,10 @@

ng-if="method.name[0].toUpperCase() !== method.name[0]"> - {{method.name}} + ng-href="{{activeUrl + '?method=' + method.name}}"> + # + {{method.name}} +

diff --git a/docs/site/css/main.css b/docs/site/css/main.css index d6148c3df60..d2458f389f6 100755 --- a/docs/site/css/main.css +++ b/docs/site/css/main.css @@ -719,21 +719,18 @@ ul { } .permalink { - display: none; - position: absolute; - padding: 0 7px; - left: -24px; text-decoration: none; color: #2b70e2; } .permalink:hover { color: #4285f4; - display: block; } -.method-heading:hover .permalink { - display: block; +.permalink span { + position: absolute; + padding: 0 7px; + left: -24px; } .sub-heading {