#1048 - Исправление ошибок верстки в Блоге.

parent b80abb90
...@@ -23,7 +23,7 @@ use yii\helpers\Url; ...@@ -23,7 +23,7 @@ use yii\helpers\Url;
<?php foreach ($model->postTags as $tag) : ?> <?php foreach ($model->postTags as $tag) : ?>
<a href="<?=$tag->url;?>"># <?=$tag->name?></a> <a href="<?=$tag->url;?>">#<?=$tag->name?></a>
<?php endforeach; ?> <?php endforeach; ?>
......
...@@ -30,7 +30,7 @@ use yii\helpers\Url; ...@@ -30,7 +30,7 @@ use yii\helpers\Url;
<?php foreach ($model->postTags as $tag) : ?> <?php foreach ($model->postTags as $tag) : ?>
<a href="<?=$tag->url;?>"># <?=$tag->name?></a> <a href="<?=$tag->url;?>">#<?=$tag->name?></a>
<?php endforeach; ?> <?php endforeach; ?>
......
...@@ -266,7 +266,7 @@ a.toggle_bottom:hover .icon-arrowDown2:after, a.toggle_bottom:active .icon-arrow ...@@ -266,7 +266,7 @@ a.toggle_bottom:hover .icon-arrowDown2:after, a.toggle_bottom:active .icon-arrow
.subsc_blog { .subsc_blog {
margin-top: 50px; margin-top: 50px;
} }
.language-markup { pre code {
font-size: 14px; font-size: 14px;
} }
...@@ -516,6 +516,9 @@ a.toggle_bottom:hover .icon-arrowDown2:after, a.toggle_bottom:active .icon-arrow ...@@ -516,6 +516,9 @@ a.toggle_bottom:hover .icon-arrowDown2:after, a.toggle_bottom:active .icon-arrow
.subsc_form input, .subsc_blog_form input { .subsc_form input, .subsc_blog_form input {
width: 100%; width: 100%;
} }
pre code {
font-size: 12px;
}
} }
@media only screen and (max-width: 479px) and (min-width: 320px) { @media only screen and (max-width: 479px) and (min-width: 320px) {
...@@ -528,4 +531,13 @@ a.toggle_bottom:hover .icon-arrowDown2:after, a.toggle_bottom:active .icon-arrow ...@@ -528,4 +531,13 @@ a.toggle_bottom:hover .icon-arrowDown2:after, a.toggle_bottom:active .icon-arrow
.calk_form .file-upload_block { .calk_form .file-upload_block {
display: none; display: none;
} }
}
@media only screen and (max-width: 479px) {
.article_short_view {
display: none;
}
.article_short_tags {
margin-top: 0;
}
} }
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment