Change page content header info scale to 0.7 by default
This commit is contained in:
parent
d6befee58d
commit
1ec6023fa2
|
@ -125,10 +125,9 @@
|
|||
overflow-x: hidden;
|
||||
|
||||
.info {
|
||||
transform: scale(1);
|
||||
margin-bottom: 0;
|
||||
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;
|
||||
transition: all .5s linear;
|
||||
height: @dashboard-page-content-header-info-height;
|
||||
|
||||
img {
|
||||
|
@ -136,13 +135,6 @@
|
|||
max-width: @dashboard-page-content-header-info-img-max-width;
|
||||
}
|
||||
}
|
||||
|
||||
&.uk-active {
|
||||
.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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue