mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2025-01-30 00:24:26 +00:00
fix comment block padding
This commit is contained in:
parent
a6c4f70580
commit
c200507844
@ -142,11 +142,19 @@
|
|||||||
padding: 8px;
|
padding: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.padding-b-8 {
|
||||||
|
padding-bottom: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
.padding-y-8 {
|
.padding-y-8 {
|
||||||
padding-top: 8px;
|
padding-top: 8px;
|
||||||
padding-bottom: 8px;
|
padding-bottom: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.padding-t-16 {
|
||||||
|
padding-top: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
.padding-x-16 {
|
.padding-x-16 {
|
||||||
padding-left: 16px;
|
padding-left: 16px;
|
||||||
padding-right: 16px;
|
padding-right: 16px;
|
||||||
|
@ -366,7 +366,7 @@ echo '<?xml version="1.0" encoding="UTF-8"?>' . PHP_EOL ?>
|
|||||||
</div>
|
</div>
|
||||||
<div class="padding-x-16">
|
<div class="padding-x-16">
|
||||||
<?php foreach ($db->getMagnetComments($response->magnet->magnetId) as $magnetComment) { ?>
|
<?php foreach ($db->getMagnetComments($response->magnet->magnetId) as $magnetComment) { ?>
|
||||||
<div class="padding-16 margin-t-8 border-radius-3 background-color-night <?php echo !$magnetComment->approved || !$magnetComment->public ? 'opacity-06 opacity-hover-1' : false ?>">
|
<div class="padding-x-16 padding-t-16 padding-b-8 margin-t-8 border-radius-3 background-color-night <?php echo !$magnetComment->approved || !$magnetComment->public ? 'opacity-06 opacity-hover-1' : false ?>">
|
||||||
<a name="comment-<?php echo $magnetComment->magnetCommentId ?>"></a>
|
<a name="comment-<?php echo $magnetComment->magnetCommentId ?>"></a>
|
||||||
<?php if ($response->user->address == $db->getUser($magnetComment->userId)->address || in_array($response->user->address, MODERATOR_IP_LIST)) { ?>
|
<?php if ($response->user->address == $db->getUser($magnetComment->userId)->address || in_array($response->user->address, MODERATOR_IP_LIST)) { ?>
|
||||||
<div class="margin-b-16">
|
<div class="margin-b-16">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user