From 5fa0697130870c2a46478b2b63f775e359bd0971 Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Wed, 30 Oct 2024 16:34:21 +0100 Subject: [PATCH] Remove some unused css rules --- assets/ibis.css | 42 +------------------------------------- src/frontend/pages/diff.rs | 2 +- 2 files changed, 2 insertions(+), 42 deletions(-) diff --git a/assets/ibis.css b/assets/ibis.css index 966c0f2..446b7dd 100644 --- a/assets/ibis.css +++ b/assets/ibis.css @@ -18,7 +18,6 @@ body { nav { background-color: #f6f6f6; padding: 10px; - list-style: none; } main { @@ -27,51 +26,12 @@ main { padding: 0 30px 30px 30px; } -main .inner { - margin: 0 -30px; -} - -nav form { - margin: 0.5rem 1rem 0rem 0rem; -} - -pre { - white-space: pre-wrap; -} - -#edit-article textarea { - height: auto; - width: 100%; -} - -#edit-article .inputs { - display: flex; -} -#edit-article .inputs input { - flex: 1; - margin: 5px; -} - .anchor svg { - display: inline !important; -} - -@layer base { - h1 { - @apply text-2xl; - } - h2 { - @apply text-xl; - } - /* ... */ + display: inline; } @media only screen and (max-width: 720px) { body { flex-direction: column; } - nav input { - max-width: 200px; - } - nav li { display: inline-block } } diff --git a/src/frontend/pages/diff.rs b/src/frontend/pages/diff.rs index a33d0f2..b72b01c 100644 --- a/src/frontend/pages/diff.rs +++ b/src/frontend/pages/diff.rs @@ -36,7 +36,7 @@ pub fn EditDiff() -> impl IntoView {

{label}

"by " {user_link(&edit.creator)}

-
+                                
                                     {edit.edit.diff.clone()}