diff --git a/less/dashboard.less b/less/dashboard.less index 114e69f..d646ed4 100644 --- a/less/dashboard.less +++ b/less/dashboard.less @@ -21,8 +21,7 @@ @dashboard-page-content-sticky-border-width: @global-border-width; @dashboard-page-content-sticky-border: @global-border; -@dashboard-page-content-header-info-height: 80px; -@dashboard-page-content-header-info-scale-ratio: 0.7; +@dashboard-page-content-header-info-height: @global-header-height - 20px; @dashboard-page-content-header-info-img-max-height: @dashboard-page-content-header-info-height; @dashboard-page-content-header-info-img-max-width: 180px; @@ -125,10 +124,8 @@ overflow-x: hidden; .info { - transform: scale(@dashboard-page-content-header-info-scale-ratio); - margin-bottom: calc((@dashboard-page-content-header-info-scale-ratio - 1.0) * @dashboard-page-content-header-info-height); - transform-origin: 0 0; height: @dashboard-page-content-header-info-height; + overflow: hidden; img { max-height: @dashboard-page-content-header-info-img-max-height;