fix: optimize for small screen

This commit is contained in:
seriousm4x
2023-10-23 23:07:08 +02:00
parent aa254c08dc
commit cfbc850e5a
3 changed files with 1779 additions and 628 deletions

2399
frontend/pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@@ -436,13 +436,13 @@
{@html $LL.device.shutdown_desc()}
</p>
<p class="my-2 font-bold">{$LL.device.shutdown_examples()}</p>
<div class="mockup-code text-sm max-w-fit">
<div class="mockup-code text-sm min-w-0 max-w-fit">
<pre data-prefix="#"><code>{$LL.device.shutdown_examples_windows()}</code></pre>
<pre data-prefix="$" class="text-warning"><code
>net rpc shutdown -I 192.168.1.13 -U "user%password"</code
></pre>
</div>
<div class="mockup-code text-sm max-w-fit">
<div class="mockup-code text-sm min-w-0 max-w-fit">
<pre data-prefix="#"><code>{$LL.device.shutdown_examples_linux()}</code></pre>
<pre data-prefix="$" class="text-warning"><code
>sshpass -p password ssh -o "StrictHostKeyChecking=no" user@192.168.1.13 "sudo poweroff"</code

View File

@@ -127,10 +127,10 @@
<label class="label" for="scan-range">
<span class="label-text">{$LL.device.network_scan_ip_range()}</span>
</label>
<div class="join">
<div class="join max-w-xs">
<input
id="scan-range"
class="input input-bordered join-item"
class="input input-bordered join-item w-full"
type="text"
placeholder="192.168.1.0/24"
bind:value={scanRange}