mirror of
https://github.com/icecoder/ICEcoder.git
synced 2026-03-07 00:56:48 +01:00
Fix updating font size in file manager
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user