fix: help icon displaced

This commit is contained in:
Johannes Millan 2018-04-05 22:24:20 +02:00
parent 7acb415c13
commit c16ede6c16
2 changed files with 8 additions and 7 deletions

View file

@ -1,8 +1,8 @@
.ani-slide-up-down {
overflow: hidden !important;
overflow: hidden;
margin: 0 !important;
transform-origin: center 0;
transform: translate3d(0, 0, 0);
transform: translateZ(0);
backface-visibility: hidden;
// will-change: transform, height;
}

View file

@ -20,24 +20,26 @@
> * {
// for help icon positioning
position: static;
// does not work because of translate on the slide down ani element
// position: static;
// add a padding
padding: 10px $this-panel-padding-left-right;
}
md-switch:first-of-type{
margin-top: 0;
md-switch:first-of-type {
margin-top: 0;
}
}
.help-btn {
display: none;
position: absolute;
}
.is-expanded .help-btn {
display: block;
top: 0px;
top: -40px;
right: -2px;
visibility: hidden;
animation: 0.2s help-ico-animation ease-out;
@ -46,7 +48,6 @@
animation-delay: 0.20s;
}
.config-section {
margin-bottom: 10px;
background: #ffffff;