Skip to content

Commit

Permalink
Merge pull request #3338 from Roardom/nfo-lineheight
Browse files Browse the repository at this point in the history
(Fix) nfo line height styles
  • Loading branch information
HDVinnie committed Jan 2, 2024
2 parents 26a0962 + d82252f commit 2c30a49
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions resources/sass/pages/_torrent.scss
Original file line number Diff line number Diff line change
Expand Up @@ -92,3 +92,10 @@
gap: 12px 24px;
overflow-x: auto;
}

/* NFO
---------------------------------------------------------------------------- */

.torrent__nfo {
line-height: 1;
}
2 changes: 1 addition & 1 deletion resources/views/torrent/partials/buttons.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ class="form__button form__button--outlined form__button--centered"
<div class="bbcode-rendered" style="text-align: left">
<pre
style="width: max-content"
><code style="white-space: pre;">{{ iconv('cp437', 'utf8', $torrent->nfo) }}</code></pre>
><code class="torrent__nfo" style="white-space: pre;">{{ iconv('cp437', 'utf8', $torrent->nfo) }}</code></pre>
</div>
</div>
</dialog>
Expand Down

0 comments on commit 2c30a49

Please sign in to comment.