Use position: absolute instead of float for tree (fixes #98)

Using float has the huge disadvantage that different floating elements can block
each other if they're just slightly too big (e.g. because of fractional pixels
when zooming), leading to the same-level channels being displayed with
increasing indention, even though they shouldn't.
This commit is contained in:
Jonas Herzig 2020-05-03 15:10:46 +02:00
parent 9d10427ee7
commit e730b65bef

View file

@ -110,7 +110,7 @@ html, body {
height: 19px;
}
.branch {
float: left;
position: absolute;
padding-top: 3px;
padding-bottom: 3px;
background-color: $channels-bg-color;
@ -129,7 +129,7 @@ html, body {
}
.channel-tree,
.user-tree {
float: left;
position: absolute;
}
.channel-tree::before,
.user-tree::before {