diff --git a/resources/assets/sass/styles.scss b/resources/assets/sass/styles.scss
index 9667eab03..1704bc2cd 100644
--- a/resources/assets/sass/styles.scss
+++ b/resources/assets/sass/styles.scss
@@ -241,15 +241,23 @@ a.link-hook {
position: absolute;
display: inline-block;
top: $-xs;
- left: -$-xl+2px;
+ left: -$-l;
+ padding-bottom: 30px;
font-size: 20px;
line-height: 20px;
color: #BBB;
opacity: 0;
+ transform: translate3d(10px, 0, 0);
+ transition: all ease-in-out 240ms;
+ background-color: transparent;
+ &:hover {
+ color: $primary;
+ }
}
h1, h2, h3, h4, h5, h6 {
&:hover a.link-hook {
opacity: 1;
+ transform: translate3d(0, 0, 0);
}
}
diff --git a/resources/views/pages/show.blade.php b/resources/views/pages/show.blade.php
index 67ca4c616..a57828b3b 100644
--- a/resources/views/pages/show.blade.php
+++ b/resources/views/pages/show.blade.php
@@ -74,7 +74,7 @@
headers.each(function() {
var text = $(this).text().trim();
var link = '/link/' + pageId + '#' + encodeURIComponent(text);
- var linkHook = $('')
+ var linkHook = $('')
.attr({"data-content": link, href: link, target: '_blank'});
linkHook.click(function(e) {
e.preventDefault();