Skip to content

Commit b1fb1cd

Browse files
committed
fixed issue with logo height overflowing banner height
1 parent 385637e commit b1fb1cd

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

grails-app/assets/javascripts/base.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@
66
//= require jquery-ui/1.9.2/jquery-ui-1.9.2.custom.js
77
//= require jquery.appear/jquery.appear.js
88
//= require bootstrap/js/bootstrap.js
9-
//= require bootstrap-combobox/bootstrap-combobox.js
9+
//= require bootstrap-combobox/bootstrap-combobox.js
10+
//= require fieldcapture-application.js

grails-app/assets/javascripts/common.js

-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
//= require moment/moment.min.js
1414
//= require moment/moment-timezone-with-data.min.js
1515
//= require vkbeautyfy/vkbeautify.0.99.00.beta.js
16-
//= require fieldcapture-application.js
1716
//= require knockout-dates.js
1817
//= require knockout-custom-bindings.js
1918
//= require knockout-custom-extenders.js

grails-app/views/hub/configurableHubTemplate1.gsp

+4-4
Original file line numberDiff line numberDiff line change
@@ -367,17 +367,17 @@ section#breadcrumb {
367367
#main-content #bannerHubOuter .logo {
368368
left: 80px;
369369
top: -25px;
370-
max-width: 350px;
371-
max-height: 300px;
370+
width: 350px;
371+
height: 300px;
372372
position: absolute;
373373
z-index: 5;
374374
}
375375

376376
@media (max-width: 767px) {
377377
#main-content #bannerHubOuter .logo {
378378
left: 25px;
379-
max-width: 250px;
380-
max-height: 200px;
379+
width: 250px;
380+
height: 200px;
381381
}
382382
}
383383

grails-app/views/shared/_bannerHub.gsp

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<div id="bannerHubOuter">
33
<g:if test="${hubConfig.logoUrl}">
44
<div class="logo">
5-
<img src="${hubConfig.logoUrl}">
5+
<img class="image-logo" src="${hubConfig.logoUrl}" onload="findLogoScalingClass(this)">
66
</div>
77
</g:if>
88

0 commit comments

Comments
 (0)