From 81b7cc258b2107ac4c0f6adb67dd889646999052 Mon Sep 17 00:00:00 2001 From: Eugeny Galkovskiy Date: Thu, 29 Jun 2017 17:03:00 +0300 Subject: [PATCH] Адаптивные изображения в текстах --- frontend/views/layouts/main.php | 2 +- frontend/views/page/view.php | 8 -------- frontend/web/css/custom.css | 4 ++++ 3 files changed, 5 insertions(+), 9 deletions(-) diff --git a/frontend/views/layouts/main.php b/frontend/views/layouts/main.php index 59b5ed2..a99cbd1 100644 --- a/frontend/views/layouts/main.php +++ b/frontend/views/layouts/main.php @@ -292,7 +292,7 @@ _________________________________________________________ --> ], [ 'label' => \Yii::t('app', 'О нас'), - 'url' => [ 'o-nas' ], + 'url' => [ '/o-nas' ], ], ], 'options' => [ diff --git a/frontend/views/page/view.php b/frontend/views/page/view.php index 9bebcd7..82afdd1 100644 --- a/frontend/views/page/view.php +++ b/frontend/views/page/view.php @@ -70,14 +70,6 @@ - - - - diff --git a/frontend/web/css/custom.css b/frontend/web/css/custom.css index 8e93597..141d74f 100644 --- a/frontend/web/css/custom.css +++ b/frontend/web/css/custom.css @@ -164,4 +164,8 @@ span.price-text{ color: #333333; font-weight: bold; font-size: 36px; +} +#text-page img{ + max-width: 100%; + height: auto; } \ No newline at end of file -- libgit2 0.21.4