[Front-end] Fixes for Hyperlinks

Fixes #1710
Converted to span to confine clickable area
to text only;
Link now uses `overflow: hidden` in frame;
Normalized font-size when .s-button;
This commit is contained in:
Charles Hacskaylo
2017-09-14 11:05:05 -07:00
parent 54b975f242
commit 9fe1923189
3 changed files with 10 additions and 5 deletions

View File

@@ -72,11 +72,13 @@
}
}
// Hyperlink objects
.s-hyperlink {
// Hyperlink objects
.label {
font-size: 0.8rem !important;
}
&:not(.s-button) {
color: $colorKey;
font-size: 0.8rem;
&:hover { color: $colorKeyHov; }
}
}

View File

@@ -122,7 +122,10 @@
/********************************************************** OBJECT TYPES */
.t-object-type-hyperlink {
.s-hyperlink.s-button {
.object-holder {
overflow: hidden;
}
.l-hyperlink.s-button {
// When a hyperlink is a button in a frame, make it expand to fill out to the object-holder
@extend .abs;
.label {