Browse Source

fix anchor position

main
ghost 1 year ago
parent
commit
f07a28f721
  1. 2
      src/public/index.php

2
src/public/index.php

@ -258,13 +258,13 @@ echo '<?xml version="1.0" encoding="UTF-8"?>' . PHP_EOL ?> @@ -258,13 +258,13 @@ echo '<?xml version="1.0" encoding="UTF-8"?>' . PHP_EOL ?>
<?php if ($response->magnets) { ?>
<?php foreach ($response->magnets as $magnet) { ?>
<?php if ($magnet->access->read) { ?>
<a name="magnet-<?php echo $magnet->magnetId ?>"></a>
<div class="padding-16
margin-y-8
border-radius-3
background-color-night
<?php echo !$magnet->public || !$magnet->approved ? 'opacity-06 opacity-hover-1' : false ?>">
<div class="<?php echo $magnet->sensitive ? 'bloor-2 bloor-hover-0' : false ?>">
<a name="magnet-<?php echo $magnet->magnetId ?>"></a>
<h2 class="margin-b-8"><?php echo $magnet->metaTitle ?></h2>
<div class="float-right opacity-0 parent-hover-opacity-09">
<?php if (!$magnet->public) { ?>

Loading…
Cancel
Save