Fix updating font size in file manager

This commit is contained in:
mattpass
2020-09-20 09:01:08 +01:00
parent 73aaabba8f
commit 373b1eb645
2 changed files with 2 additions and 2 deletions

View File

@@ -3705,7 +3705,7 @@ var ICEcoder = {
thisCSS[strCSS][0].style['fontSize'] = settings.fontSize;
// Update font size in file manager
thisCSS = this.filesFrame.contentWindow.document.styleSheets[3];
thisCSS = this.filesFrame.contentWindow.document.styleSheets[4];
strCSS = thisCSS.rules ? 'rules' : 'cssRules';
thisCSS[strCSS][0].style['fontSize'] = settings.fontSize;

View File

@@ -13,7 +13,7 @@ $t = $text['files'];
<link rel="stylesheet" type="text/css" href="assets/css/files.css?microtime=<?php echo microtime(true);?>">
<link rel="stylesheet" type="text/css" href="assets/css/file-types.css?microtime=<?php echo microtime(true);?>">
<link rel="stylesheet" type="text/css" href="assets/css/file-type-icons.css?microtime=<?php echo microtime(true);?>">
<!--Updated via settings so must remain 4th stylesheet//-->
<!--Updated via settings so must remain 5th stylesheet//-->
<style>
ul.fileManager li a span { font-size: <?php echo $ICEcoder["fontSize"];?>; }
</style>