Skip to content

Commit 4eb2344

Browse files
Merge pull request #166 from MaddyGuthridge/maddy-fix-mobile-article-view
Fix mobile article view
2 parents 68789d9 + 238413a commit 4eb2344

File tree

4 files changed

+17
-12
lines changed

4 files changed

+17
-12
lines changed

package-lock.json

Lines changed: 11 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "minifolio",
3-
"version": "1.2.4",
3+
"version": "1.2.5",
44
"private": true,
55
"license": "GPL-3.0-only",
66
"scripts": {

src/app.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,10 @@
1717

1818
body {
1919
margin: 0;
20+
}
21+
html, body {
2022
overflow-x: hidden;
23+
width: 100%;
2124
}
2225
</style>
2326

src/components/markdown/Markdown.svelte

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,8 @@
8888
color: #111;
8989
/* Paragraph spacing */
9090
line-height: 1.5;
91+
/* Prevent overflow */
92+
width: 100%;
9193
}
9294
.markdown-render :global(p) {
9395
/* Justify text */

0 commit comments

Comments
 (0)