mirror of
https://github.com/ReVanced/revanced-website.git
synced 2026-01-11 13:46:17 +00:00
fix: Display preformatted option descriptions
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user