1
0
Fork 0
mirror of https://github.com/Nutomic/ibis.git synced 2024-11-24 12:51:10 +00:00

Remove some unused css rules

This commit is contained in:
Felix Ableitner 2024-10-30 16:34:21 +01:00
parent 80a4ad95aa
commit 5fa0697130
2 changed files with 2 additions and 42 deletions

View file

@ -18,7 +18,6 @@ body {
nav { nav {
background-color: #f6f6f6; background-color: #f6f6f6;
padding: 10px; padding: 10px;
list-style: none;
} }
main { main {
@ -27,51 +26,12 @@ main {
padding: 0 30px 30px 30px; 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 { .anchor svg {
display: inline !important; display: inline;
}
@layer base {
h1 {
@apply text-2xl;
}
h2 {
@apply text-xl;
}
/* ... */
} }
@media only screen and (max-width: 720px) { @media only screen and (max-width: 720px) {
body { body {
flex-direction: column; flex-direction: column;
} }
nav input {
max-width: 200px;
}
nav li { display: inline-block }
} }

View file

@ -36,7 +36,7 @@ pub fn EditDiff() -> impl IntoView {
<h2 class="text-xl font-bold font-serif my-2">{label}</h2> <h2 class="text-xl font-bold font-serif my-2">{label}</h2>
<p>"by " {user_link(&edit.creator)}</p> <p>"by " {user_link(&edit.creator)}</p>
<div class="bg-gray-200 p-2 rounded my-2"> <div class="bg-gray-200 p-2 rounded my-2">
<pre> <pre class="text-wrap">
<code>{edit.edit.diff.clone()}</code> <code>{edit.edit.diff.clone()}</code>
</pre> </pre>
</div> </div>