Skip to content

Commit c0a38b5

Browse files
committed
UX: Незначительные изменения (шаблон QA)
1 parent 222c794 commit c0a38b5

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

public/assets/css/qa.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/assets/css/style.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

resources/views/default/content/post/post-view.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@
215215
</div>
216216
<?php endif; ?>
217217

218-
<?php if ($data['recommend']) : ?>
218+
<?php if ($data['recommend'] && $post['post_is_deleted'] != 1) : ?>
219219
<div class="box sticky top-sm">
220220
<h4 class="uppercase-box"><?= __('app.recommended'); ?></h4>
221221
<?php foreach ($data['recommend'] as $rec_post) : ?>

resources/views/qa/css/custom.css

+4
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ main {
2727
font-size: 0.77rem;
2828
}
2929

30+
.top-sm {
31+
top: 5px;
32+
}
33+
3034
@media (max-width: 1050px) {
3135
main {
3236
width: var(--max-w-full);

0 commit comments

Comments
 (0)