Scaling fixes for whole site, and prettier search-loader

This commit is contained in:
Kasper Rynning-Tønnesen
2018-07-27 15:56:03 +02:00
parent e20dd72116
commit 96a56c158d
4 changed files with 32 additions and 41 deletions

View File

@@ -420,7 +420,7 @@ var Channel = {
if(start){
add_width = window.innerWidth * 0.15;
}
var test_against_width = window.innerWidth - document.getElementsByClassName("control-list")[0].offsetWidth - add_width - 33;
var test_against_width = window.innerWidth - document.getElementsByClassName("control-list")[0].offsetWidth - add_width - 11;
title_width = test_against_width;
document.getElementsByClassName("title-container")[0].style.width = title_width + "px";
} else {