use calc to fix tree line (#17055)

This commit is contained in:
zombieJ 2019-06-12 12:20:32 +08:00 committed by GitHub
parent b585751e49
commit 4911bee059
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -244,7 +244,8 @@
left: 12px;
width: 1px;
height: 100%;
margin: 22px 0;
height: calc(100% - 22px); // Remove additional height if support
margin: 22px 0 0;
border-left: 1px solid @border-color-base;
content: ' ';
}