Switch over to WebAssembly, Rust and Yew #35

Merged
BlakeRain merged 87 commits from yew-static into main 2023-08-30 18:01:40 +00:00
3 changed files with 3 additions and 3 deletions
Showing only changes of commit c366c74243 - Show all commits

View File

@ -56,7 +56,7 @@ pub fn post_card_details<S>(horizontal: bool, info: &Details<S>, tags: &TagsCont
html! {
<div class={classes!("flex", "uppercase", "text-sm",
if horizontal {
"flex-row justify-between"
"flex-col md:flex-row md:justify-between"
} else {
"flex-col"
})}>

View File

@ -41,7 +41,7 @@ pub fn post_content<S: PartialEq>(props: &PostContentProps<S>) -> Html {
</div>
</div>
</header>
<div class="container mx-auto my-12 px-16 markdown">
<div class="container mx-auto mt-12 mb-20 px-16 markdown">
{
props.content.iter().map(|node| html! {
<Render node={node.clone()} />

View File

@ -84,7 +84,7 @@
@apply w-full mb-8 flex flex-col items-center;
pre {
@apply w-full bg-neutral-100 dark:bg-neutral-800 rounded-md p-4;
@apply w-full bg-neutral-100 dark:bg-neutral-800 rounded-md p-4 overflow-x-scroll;
code {
@apply font-mono leading-snug;