Fixes #1691: added “viewport” meta tag to layout views.
This commit is contained in:
parent
ab34eaa4f9
commit
c09c67c13c
@ -16,6 +16,7 @@ AppAsset::register($this);
|
|||||||
<html lang="<?= Yii::$app->language ?>">
|
<html lang="<?= Yii::$app->language ?>">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="<?= Yii::$app->charset ?>"/>
|
<meta charset="<?= Yii::$app->charset ?>"/>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<title><?= Html::encode($this->title) ?></title>
|
<title><?= Html::encode($this->title) ?></title>
|
||||||
<?php $this->head() ?>
|
<?php $this->head() ?>
|
||||||
</head>
|
</head>
|
||||||
|
Loading…
Reference in New Issue
Block a user