Skip to content

Commit 3661817

Browse files
committed
normal.blog: Improve styling of blog title block.
1 parent 3ab38b4 commit 3661817

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

normal/blog.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -160,9 +160,9 @@ pub fn BlogPost(slug: String) -> Element {
160160
}
161161
}
162162
div { class: "text-md text-fg flex items-end justify-between",
163-
p { class: "opacity-60",
163+
p { class: "opacity-60 flex flex-col sm:flex-row w-full sm:items-center",
164164
"{post.date} "
165-
span { class: "text-xs opacity-40",
165+
span { class: "text-xs opacity-40 sm:ml-2",
166166
"(last edit: {post.edited})"
167167
}
168168
}
@@ -171,7 +171,7 @@ pub fn BlogPost(slug: String) -> Element {
171171
src: LOGO_NO_BG,
172172
alt: "{ME.name}"
173173
}
174-
span { class: "text-purple-light",
174+
span { class: "text-purple-light text-sm sm:text-base mr-4",
175175
"{post.author}"
176176
}
177177
}

0 commit comments

Comments
 (0)