- fix

parent 0d3042fa
...@@ -94,7 +94,7 @@ class PostLang extends \common\components\ActiveRecordModel ...@@ -94,7 +94,7 @@ class PostLang extends \common\components\ActiveRecordModel
$text = substr($text, 0, strrpos($text, ' ')); $text = substr($text, 0, strrpos($text, ' '));
$text = $text . '...'; $text = $text . '...';
return '<p>'.$text.'</p><p><a href="'.$this->post->getFullUrl().'">'.Yii::t('blog', 'Read more...').'</a></p>'; return '<p>'.$text.'</p><p class="read-more"><a href="'.$this->post->getFullUrl().'">'.Yii::t('blog', 'Read more...').'</a></p>';
} }
return $this->text; return $this->text;
......
...@@ -3309,6 +3309,6 @@ height: auto; ...@@ -3309,6 +3309,6 @@ height: auto;
} }
.blog_container .article_short_txt p { .blog_container .article_short_txt p:not(.read-more) {
text-indent: 30px; text-indent: 30px;
} }
\ 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