Skip to content
Snippets Groups Projects
Commit 58fd85f5 authored by vimal1083's avatar vimal1083
Browse files

Display link icon on hover

parent c841f9ac
No related branches found
No related tags found
No related merge requests found
<div class="section-head">
{% if self.size == 'h2' %} {% if self.size == 'h2' %}
<h2 id="{{ value.heading_text|slugify }}">{{ value.heading_text }} <h2 id="{{ value.heading_text|slugify }}">{{ value.heading_text }}
<a href="#{{ value.heading_text|slugify }}"> <a href="#{{ value.heading_text|slugify }}">
...@@ -25,3 +26,4 @@ ...@@ -25,3 +26,4 @@
</a> </a>
</h4> </h4>
{% endif %} {% endif %}
</div>
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
'use strict'; 'use strict';
// Make links on application forms open in a new window/tab. // Make links on application forms open in a new window/tab.
$('.application-form').find('a').not('h2 > a').not('h3 > a').not('h4 > a').attr({ $('.application-form').find('a').not('.section-head a').attr({
target: '_blank', target: '_blank',
rel: 'noopener noreferrer' rel: 'noopener noreferrer'
}); });
......
...@@ -34,3 +34,17 @@ ...@@ -34,3 +34,17 @@
} }
} }
} }
.section-head{
a {
display : none;
line-height: 30px;
vertical-align: middle;
}
&:hover {
a {
display: inline;
}
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment