mirror of
https://github.com/Karaka-Management/oms-HumanResourceTimeRecording.git
synced 2026-02-11 18:38:42 +00:00
lighthouse improvements
This commit is contained in:
parent
ffcad9d58c
commit
286717d00f
|
|
@ -370,7 +370,7 @@ final class Application
|
||||||
private function initResponseHead(Head $head, HttpRequest $request, HttpResponse $response) : void
|
private function initResponseHead(Head $head, HttpRequest $request, HttpResponse $response) : void
|
||||||
{
|
{
|
||||||
/* Load assets */
|
/* Load assets */
|
||||||
$head->addAsset(AssetType::CSS, 'Resources/fonts/fontawesome/css/font-awesome.min.css?v=1.0.0');
|
$head->addAsset(AssetType::CSS, 'Resources/fonts/fontawesome/css/font-awesome.min.css');
|
||||||
$head->addAsset(AssetType::CSS, 'cssOMS/styles.css?v=1.0.0');
|
$head->addAsset(AssetType::CSS, 'cssOMS/styles.css?v=1.0.0');
|
||||||
$head->addAsset(AssetType::CSS, '//fonts.googleapis.com/css?family=Roboto:100,300,300i,400,700,900');
|
$head->addAsset(AssetType::CSS, '//fonts.googleapis.com/css?family=Roboto:100,300,300i,400,700,900');
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -46,6 +46,7 @@
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
font-family: var(--font-family);
|
font-family: var(--font-family);
|
||||||
|
font-display: swap;
|
||||||
color: #000; }
|
color: #000; }
|
||||||
|
|
||||||
body {
|
body {
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,7 @@ html, body {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
font-family: var(--font-family);
|
font-family: var(--font-family);
|
||||||
|
font-display: swap;
|
||||||
color: #000;
|
color: #000;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user