mirror of
https://github.com/revanced/revanced-website.git
synced 2025-04-29 22:24:31 +02:00
fix: Display preformatted option descriptions
This commit is contained in:
parent
2c4daece03
commit
6a1db68779
@ -91,7 +91,9 @@
|
||||
{#each patch.options as option}
|
||||
<div class="option">
|
||||
<h5 id="option-title">{option.title}</h5>
|
||||
<h5>{option.description}</h5>
|
||||
<h5>
|
||||
<pre id="option-description">{option.description}</pre>
|
||||
</h5>
|
||||
</div>
|
||||
{/each}
|
||||
</div>
|
||||
@ -106,6 +108,11 @@
|
||||
color: var(--accent-color);
|
||||
}
|
||||
|
||||
#option-description {
|
||||
white-space: pre-wrap;
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
#option-title {
|
||||
color: var(--accent-color-two);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user