fix: mobile padding, do not use top on articles
This commit is contained in:
parent
e9497b3cdc
commit
7e85b78c45
@ -72,6 +72,13 @@ html::before {
|
||||
z-index: 0;
|
||||
}
|
||||
|
||||
/* div#__nuxt {
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
it's better if everything is sort of long but that is not the case
|
||||
*/
|
||||
|
||||
html.dark::before {
|
||||
transform: translateX(0);
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user