Skip to content

Commit

Permalink
patch
Browse files Browse the repository at this point in the history
  • Loading branch information
lbr38 committed Nov 5, 2023
1 parent 2d634a5 commit 05bdfce
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 19 deletions.
11 changes: 8 additions & 3 deletions www/templates/mail/mail.template.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
max-width: 100%;
}

.mj-column-px-500 {
.mj-column-px {
width: 500px !important;
max-width: 500px;
}
Expand All @@ -82,13 +82,18 @@
max-width: 100%;
}

.moz-text-html .mj-column-px-500 {
.moz-text-html .mj-column-px {
width: 500px !important;
max-width: 500px;
}
</style>
<style type="text/css">
@media only screen and (max-width:480px) {
.mj-column-px {
width: 300px !important;
max-width: 300px;
}

table.mj-full-width-mobile {
width: 100% !important;
}
Expand Down Expand Up @@ -141,7 +146,7 @@
<tr>
<td style="direction:ltr;font-size:0px;padding:20px 0;text-align:center;">
<!--[if mso | IE]><table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><td class="" style="vertical-align:top;width:500px;" ><![endif]-->
<div class="mj-column-px-500 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
<div class="mj-column-px mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" width="100%">
<tbody>
<tr>
Expand Down
31 changes: 15 additions & 16 deletions www/views/includes/containers/motion/events/list.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@
<?php
endif;
endif;

/**
* Case it's a picture and the thumbnail option is disabled
*/
Expand All @@ -256,7 +256,7 @@
if (file_exists($filepath) && is_readable($filepath)) : ?>
<p class="lowopacity-cst font-size-13">(<?= $filesize ?>)</p>
<?php
else:
else :
if (!file_exists($filepath)) {
echo '<span class="redtext"> (deleted)</span>';
} elseif (!is_readable($filepath)) {
Expand All @@ -265,12 +265,12 @@
endif ?>
</div>
<?php
if (is_readable($filepath)) : ?>
<span class="round-btn-green play-picture-btn" file-id="<?= $fileId ?>" title="Visualize picture">
<img src="/assets/icons/play.svg" />
</span>
<?php
endif
if (is_readable($filepath)) : ?>
<span class="round-btn-green play-picture-btn" file-id="<?= $fileId ?>" title="Visualize picture">
<img src="/assets/icons/play.svg" />
</span>
<?php
endif
?>
</div>
<?php
Expand Down Expand Up @@ -355,7 +355,7 @@
if (file_exists($filepath) && is_readable($filepath)) : ?>
<p class="lowopacity-cst font-size-13">(<?= $filesize ?>)</p>
<?php
else:
else :
if (!file_exists($filepath)) {
echo '<span class="redtext"> (deleted)</span>';
} elseif (!is_readable($filepath)) {
Expand All @@ -364,13 +364,12 @@
endif ?>
</div>
<?php
if (is_readable($filepath)) : ?>
<span class="round-btn-green play-video-btn" file-id="<?= $fileId ?>" title="Play video">
<img src="/assets/icons/play.svg" />
</span>
<?php
endif
?>
if (is_readable($filepath)) : ?>
<span class="round-btn-green play-video-btn" file-id="<?= $fileId ?>" title="Play video">
<img src="/assets/icons/play.svg" />
</span>
<?php
endif ?>
</div>
<?php
endif ?>
Expand Down

0 comments on commit 05bdfce

Please sign in to comment.