From e0965ddcef1b50779c38b34b0fcd2d573a512e3e Mon Sep 17 00:00:00 2001 From: Rachel <508861+Ryex@users.noreply.github.com> Date: Tue, 19 Mar 2024 22:32:43 -0700 Subject: [PATCH] fix overflow, add editor settings Signed-off-by: Rachel <508861+Ryex@users.noreply.github.com> --- ic10lsp_wasm/Cargo.lock | 4 +- www/css/dark.css | 100 ++++++++---------- www/index.html | 225 ++++++++++++++++++++++++---------------- www/package.json | 6 +- www/pnpm-lock.yaml | 20 ++++ www/src/index.js | 144 ++++++++++++++++++++++--- 6 files changed, 340 insertions(+), 159 deletions(-) diff --git a/ic10lsp_wasm/Cargo.lock b/ic10lsp_wasm/Cargo.lock index b621ee9..995bae1 100644 --- a/ic10lsp_wasm/Cargo.lock +++ b/ic10lsp_wasm/Cargo.lock @@ -395,7 +395,7 @@ checksum = "d897f394bad6a705d5f4104762e116a75639e470d80901eed05a860a95cb1904" [[package]] name = "ic10lsp" version = "0.7.4" -source = "git+https://github.com/Ryex/ic10lsp.git?branch=wasm#fe4b1177979a1260469a511f577049b0d7f3aa14" +source = "git+https://github.com/Ryex/ic10lsp.git?branch=wasm#74e948ad3d3f0d220b4ab258525afcd1b8a1548b" dependencies = [ "clap", "const-crc32", @@ -1043,7 +1043,7 @@ dependencies = [ [[package]] name = "tree-sitter-ic10" version = "0.5.2" -source = "git+https://github.com/Ryex/tree-sitter-ic10.git?branch=wasm#8fc265c9e69da58f9e8fb2ac2840d2f55d1503a8" +source = "git+https://github.com/Ryex/tree-sitter-ic10.git?branch=wasm#143545d3053971e04ddd1fbc0ac5b18631658c5a" dependencies = [ "cc", "tree-sitter", diff --git a/www/css/dark.css b/www/css/dark.css index 2290216..5d012d1 100644 --- a/www/css/dark.css +++ b/www/css/dark.css @@ -10,8 +10,8 @@ body { .ace_status-indicator { color: #dee2e6; position: relative; - right: 10px; - left: 5px; + /* right: 10px; */ + /* left: 5px; */ bottom: 4px; border-left: 1px solid; border-right: 1px solid; @@ -23,23 +23,23 @@ body { code { color: #e685b5 } -.navbar { - position: relative; - min-height: 30px; - margin-bottom: 5px; - border: 1px solid; - padding: 0; - -} +/* .navbar { */ +/* position: relative; */ +/* min-height: 30px; */ +/* margin-bottom: 5px; */ +/* border: 1px solid; */ +/* padding: 0; */ +/**/ +/* } */ .navbar-default { background-color: #343a40 ; border-color: #495057; } -@media (min-width: 768px) { - .navbar { - border-radius: 4px; - } -} +/* @media (min-width: 768px) { */ +/* .navbar { */ +/* border-radius: 4px; */ +/* } */ +/* } */ .navbar-brand { float: left; padding: 5px 5px; @@ -55,17 +55,17 @@ code { text-decoration: none; } -.nav { - padding-left: 0; - margin-bottom: 0; - list-style: none; - flex-wrap: nowrap; -} - -ol, ul { - margin-top: 0; - margin-bottom: 5px; -} +/* .nav { */ +/* padding-left: 0; */ +/* margin-bottom: 0; */ +/* list-style: none; */ +/* flex-wrap: nowrap; */ +/* } */ +/**/ +/* ol, ul { */ +/* margin-top: 0; */ +/* margin-bottom: 5px; */ +/* } */ .nav > li { position: relative; display: block; @@ -83,25 +83,25 @@ ol, ul { padding-right: 10px; position: relative; } -.navbar-nav { - display: block; -} -@media (min-width: 768px) { - .navbar-header { - float: left; - } -} -@media (min-width: 768px) { - .navbar > .container .navbar-brand, .navbar > .container-fluid .navbar-brand { - margin-left: -15px; - } -} -@media (min-width: 768px) { - .navbar-nav { - float: left; - margin: 0; - } -} +/* .navbar-nav { */ +/* display: block; */ +/* } */ +/* @media (min-width: 768px) { */ +/* .navbar-header { */ +/* float: left; */ +/* } */ +/* } */ +/* @media (min-width: 768px) { */ +/* .navbar > .container .navbar-brand, .navbar > .container-fluid .navbar-brand { */ +/* margin-left: -15px; */ +/* } */ +/* } */ +/* @media (min-width: 768px) { */ +/* .navbar-nav { */ +/* float: left; */ +/* margin: 0; */ +/* } */ +/* } */ .navbar-nav > li > a { padding-top: 10px; padding-bottom: 10px; @@ -120,17 +120,9 @@ ol, ul { padding-top: 10px; padding-bottom: 10px; } -@media (min-width: 768px) { - .navbar-text { - float: left; - } -} -.navbar-nav > p { - margin-bottom: 0; - display: inline-block; -} .navbar-nav .dropdown-menu { position: absolute; + left: .5rem; } .modal-title { color: #fff; diff --git a/www/index.html b/www/index.html index c1d0b80..0f80969 100644 --- a/www/index.html +++ b/www/index.html @@ -45,17 +45,6 @@ integrity="sha512-8RxmFOVaKQe/xtg6lbscU9DU0IRhURWEuiI0tXevv+lXbAHfkpamD4VKFQRto9WgfOJDwOZ74c/s9Yesv3VvIQ==" crossorigin="anonymous" referrerpolicy="no-referrer" /> -
@@ -63,7 +52,7 @@