Improve css for preview full content
This commit is contained in:
parent
729c2bfb42
commit
a78cf795b6
@ -534,6 +534,25 @@ nav .active a {
|
||||
color: #666;
|
||||
}
|
||||
|
||||
/* item preview full-content */
|
||||
.preview-full-content {
|
||||
overflow: auto;
|
||||
margin-bottom: 10px;
|
||||
color: #666;
|
||||
}
|
||||
|
||||
.preview-full-content p {
|
||||
margin-top: 15px;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.preview-full-content img {
|
||||
max-width: 100%;
|
||||
display: block;
|
||||
margin-top: 10px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
/* item */
|
||||
.item {
|
||||
padding-left: 5px;
|
||||
|
@ -16,7 +16,7 @@
|
||||
><?= Helper\escape($item['title']) ?></a>
|
||||
</h2>
|
||||
<?php if ($display_mode === 'full'): ?>
|
||||
<div class="preview" <?= Helper\is_rtl($item) ? 'dir="rtl"' : 'dir="ltr"' ?>>
|
||||
<div class="preview-full-content" <?= Helper\is_rtl($item) ? 'dir="rtl"' : 'dir="ltr"' ?>>
|
||||
<?= $item['content'] ?>
|
||||
</div>
|
||||
<?php else: ?>
|
||||
|
Loading…
Reference in New Issue
Block a user