fix: max-vw to prevent overflow, and some cleaning of wip comments

This commit is contained in:
Per Stark
2025-06-14 22:58:43 +02:00
parent 32141fce6e
commit f567b7198b
5 changed files with 4 additions and 20 deletions

File diff suppressed because one or more lines are too long

View File

@@ -190,7 +190,7 @@ pub async fn show_recent_content(
}
Ok(TemplateResponse::new_template(
"/dashboard/recent_content.html",
"dashboard/recent_content.html",
RecentTextContentData {
user,
text_contents,

View File

@@ -7,7 +7,7 @@
<img src="/file/{{text_content.url_info.image_id}}" alt="website screenshot" />
</figure>
{% endif %}
<div class="card-body">
<div class="card-body max-w-[95vw]">
<h2 class="card-title truncate">
{% if text_content.url_info %}
{{text_content.url_info.title}}