From 169d981e6fe9c9ae44d9abbfc6faebf976471f77 Mon Sep 17 00:00:00 2001 From: 4yn <4yn@users.noreply.github.com> Date: Wed, 23 Mar 2022 01:15:38 +0800 Subject: [PATCH] fix styling --- public/global.css | 9 +++++---- src-tauri/tauri.conf.json | 2 +- src/App.svelte | 4 ++-- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/public/global.css b/public/global.css index e120321..dbb284e 100644 --- a/public/global.css +++ b/public/global.css @@ -16,10 +16,6 @@ body { user-select: none; } -pre { - font-family: monospace; -} - body { margin: 0; padding: 1rem; @@ -113,6 +109,11 @@ body { font-size: 0.75rem; } +.iplist { + font-family: monospace; + white-space: pre; +} + input, select { width: 100%; diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 1f66da7..00f997d 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -60,7 +60,7 @@ { "title": "slidershim", "width": 500, - "height": 550, + "height": 600, "resizable": false, "fullscreen": false, "decorations": false, diff --git a/src/App.svelte b/src/App.svelte index a0d2d95..5e8e52b 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -210,12 +210,12 @@
Brokenithm server running, access at one of: -
+          
{ips .map((x) => `http://${x}:1606/`) .join("\n") .trim()} -
+