fix: mobile padding, do not use top on articles
This commit is contained in:
@@ -5,9 +5,9 @@ import { calcReadingTime } from "@/shared/metadata";
|
||||
type GeneralParsedContent = BlogParsedContent | StoryParsedContent;
|
||||
|
||||
const route = useRoute();
|
||||
definePageMeta({
|
||||
layout: "withtop",
|
||||
});
|
||||
// definePageMeta({
|
||||
// layout: "withtop",
|
||||
// });
|
||||
|
||||
// we're not using ContentDoc because i need control
|
||||
const doc = await queryContent<GeneralParsedContent>(route.path).findOne();
|
||||
@@ -65,6 +65,13 @@ const captionText =
|
||||
padding-top: 2rem;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 600px) {
|
||||
.container {
|
||||
max-width: 80ch;
|
||||
width: 90%;
|
||||
}
|
||||
}
|
||||
|
||||
* {
|
||||
transition: color 0.2s ease;
|
||||
}
|
||||
|
Reference in New Issue
Block a user