[F] Fix code overflow on mobile

pull/17/head
Azalea 2024-02-29 23:59:49 -05:00
parent 642754a46b
commit 8f9f9e9e82
1 changed files with 8 additions and 1 deletions

View File

@ -5,7 +5,7 @@
import { USER } from "../../libs/sdk"; import { USER } from "../../libs/sdk";
import type { UserMe } from "../../libs/generalTypes"; import type { UserMe } from "../../libs/generalTypes";
import { codeToHtml } from 'shiki' import { codeToHtml } from 'shiki'
import { AQUA_CONNECTION, AQUA_HOST } from "../../libs/config"; import { AQUA_CONNECTION } from "../../libs/config";
let user: UserMe let user: UserMe
let keychip: string; let keychip: string;
@ -67,6 +67,10 @@ id=${keychip.slice(0, 4)}-${keychip.slice(4)}1337`.trim(), {
<div class="code"> <div class="code">
{@html keychipCode} {@html keychipCode}
</div> </div>
<p>
Then, after you restart the game, you should be able to connect to AquaDX. Please verify that the network tests are all GOOD in the test menu.
</p>
</div> </div>
{/if} {/if}
</div> </div>
@ -76,6 +80,9 @@ id=${keychip.slice(0, 4)}-${keychip.slice(4)}1337`.trim(), {
</div> </div>
<style lang="sass"> <style lang="sass">
.code
overflow-x: auto
:global(pre.shiki) :global(pre.shiki)
background-color: transparent !important background-color: transparent !important