FIX: Links in badge summary were not clickable. (#7303)
This commit is contained in:
parent
c5b76cd138
commit
1e1adb1afa
|
@ -5,15 +5,13 @@
|
||||||
<span class='check-display status-checked'>{{d-icon "check"}}</span>
|
<span class='check-display status-checked'>{{d-icon "check"}}</span>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
<div class='badge-contents'>
|
<div class='badge-contents'>
|
||||||
<a href={{url}} class="badge-link">
|
<div class='badge-icon {{badge.badgeTypeClassName}}'>
|
||||||
<div class='badge-icon {{badge.badgeTypeClassName}}'>
|
<a href={{url}}>{{icon-or-image badge}}</a>
|
||||||
{{icon-or-image badge}}
|
</div>
|
||||||
|
<div class='badge-info'>
|
||||||
|
<div class='badge-info-item'>
|
||||||
|
<h3><a href={{url}} class='badge-link'>{{badge.name}}</a></h3>
|
||||||
|
<div class='badge-summary'>{{{summary}}}</div>
|
||||||
</div>
|
</div>
|
||||||
<div class='badge-info'>
|
</div>
|
||||||
<div class='badge-info-item'>
|
|
||||||
<h3>{{badge.name}}</h3>
|
|
||||||
<div class='badge-summary'>{{{summary}}}</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</a>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -147,14 +147,10 @@
|
||||||
display: flex;
|
display: flex;
|
||||||
min-height: 128px;
|
min-height: 128px;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
padding: 0 10%;
|
||||||
|
|
||||||
.badge-link {
|
.badge-link {
|
||||||
display: flex;
|
color: $primary;
|
||||||
flex: 1 1 auto;
|
|
||||||
padding: 0 10%;
|
|
||||||
@include breakpoint(mobile) {
|
|
||||||
padding: 0 5%;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.badge-icon {
|
.badge-icon {
|
||||||
|
@ -237,12 +233,9 @@
|
||||||
margin-right: 1.5em;
|
margin-right: 1.5em;
|
||||||
}
|
}
|
||||||
.badge-contents {
|
.badge-contents {
|
||||||
.badge-link {
|
padding: 0 5%;
|
||||||
padding: 0 5%;
|
h3 {
|
||||||
width: 90%;
|
font-size: $font-up-3;
|
||||||
h3 {
|
|
||||||
font-size: $font-up-3;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue