From 073b09811138e8079f710d80486b1ed31c7110d7 Mon Sep 17 00:00:00 2001 From: sigoden Date: Tue, 28 Nov 2023 07:14:53 +0800 Subject: [PATCH] feat: ui supports view file (#301) --- assets/index.css | 1 + assets/index.html | 2 +- assets/index.js | 67 +++++++++++++++++++++++++++++------------------ src/server.rs | 13 ++++++--- 4 files changed, 52 insertions(+), 31 deletions(-) diff --git a/assets/index.css b/assets/index.css index 6740b2d..d0ab5a8 100644 --- a/assets/index.css +++ b/assets/index.css @@ -212,6 +212,7 @@ body { height: calc(100vh - 5rem); border: 1px solid #ced4da; outline: none; + padding: 5px; } .toolbox-right { diff --git a/assets/index.html b/assets/index.html index 2073221..3fdcb3f 100644 --- a/assets/index.html +++ b/assets/index.html @@ -122,7 +122,7 @@