From 13491aa7df0f763ce24b8863077db14cf612e83d Mon Sep 17 00:00:00 2001 From: Rachel <508861+Ryex@users.noreply.github.com> Date: Mon, 18 Mar 2024 18:47:45 -0700 Subject: [PATCH] Fix async stream iteration on chromium Signed-off-by: Rachel <508861+Ryex@users.noreply.github.com> --- www/css/dark.css | 24 ++----- www/index.html | 113 +++++++++++++++++--------------- www/src/ic10_highlight_rules.js | 2 +- www/src/index.js | 25 +++++-- 4 files changed, 90 insertions(+), 74 deletions(-) diff --git a/www/css/dark.css b/www/css/dark.css index e1094b0..aa1df3e 100644 --- a/www/css/dark.css +++ b/www/css/dark.css @@ -42,13 +42,12 @@ code { } .navbar-brand { float: left; - height: 20px; padding: 5px 5px; font-size: 18px; - line-height: 20px; } .navbar-default .navbar-brand { color: #fff; + text-wrap: nowrap; } .navbar-brand a { @@ -59,6 +58,7 @@ code { padding-left: 0; margin-bottom: 0; list-style: none; + flex-wrap: nowrap; } ol, ul { @@ -74,24 +74,12 @@ ol, ul { } .navbar-default .navbar-text { color: #fff; + text-wrap: nowrap; } .navbar-text { - margin-top: 5px; - margin-bottom: 5px; padding: 0; position: relative; } -@media (min-width: 768px) { - .navbar-right { - float: right !important; - margin-right: -15px; - } -} -@media (min-width: 768px) { - .navbar-nav > li { - float: left; - } -} .navbar-nav { margin: 7.5px -15px; display: block; @@ -133,7 +121,9 @@ ol, ul { @media (min-width: 768px) { .navbar-text { float: left; - margin-right: 15px; - margin-left: 15px; } } +.navbar-nav > p { + margin-bottom: 0; + display: inline-block; +} diff --git a/www/index.html b/www/index.html index 174a2af..87fcd28 100644 --- a/www/index.html +++ b/www/index.html @@ -30,7 +30,7 @@ #editor { position: relative; width: 100%; - height: calc(100vh - 70px) ; + height: calc(100vh - 70px); top: 0; right: 0; bottom: 0; @@ -44,59 +44,68 @@