refactor: update font size handling in DefaultPageLayout.php and default-base.css to utilize CSS variables for improved customization

This commit is contained in:
Zack Spear
2025-04-04 20:09:31 -07:00
parent ae52bda45a
commit 35fec239b2
2 changed files with 4 additions and 4 deletions

View File

@@ -64,10 +64,10 @@ function annotate($text) {echo "\n<!--\n",str_repeat("#",strlen($text)),"\n$text
<?if ($backgnd):?>
--customer-header-background-color: #<?=$backgnd?>;
<?endif;?>
<?if ($display['font']):?>
--custom-font-size: <?=$display['font']?>%;
<?endif;?>
}
<?if ($display['font']):?>
html{font-size:<?=$display['font']?>%}
<?endif;?>
<?
$nchan = ['webGui/nchan/notify_poller','webGui/nchan/session_check'];