mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
fix tooltip offset
This commit is contained in:
parent
c98e06e1aa
commit
fdf83a5ad5
@ -34,7 +34,7 @@ module.exports = React.createClass({
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
tooltip.style.top = tooltip.parentElement.getBoundingClientRect().top + "px";
|
tooltip.style.top = (70 + tooltip.parentElement.getBoundingClientRect().top) + "px";
|
||||||
tooltip.style.display = "block";
|
tooltip.style.display = "block";
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -18,8 +18,8 @@ limitations under the License.
|
|||||||
height: 24px;
|
height: 24px;
|
||||||
margin-left: 16px;
|
margin-left: 16px;
|
||||||
margin-right: 20px;
|
margin-right: 20px;
|
||||||
padding-top: 26px;
|
padding-top: 24px;
|
||||||
padding-bottom: 24px;
|
padding-bottom: 22px;
|
||||||
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
|
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
|
||||||
|
|
||||||
display: flex;
|
display: flex;
|
||||||
|
Loading…
Reference in New Issue
Block a user