Skip to content

Commit c6f0c1a

Browse files
committed
theme: Only apply max-width to elements text elements, not body
1 parent d0cfeda commit c6f0c1a

File tree

2 files changed

+22
-2
lines changed

2 files changed

+22
-2
lines changed

app/extensions/builtins.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"url": "https://github.com/AgregoreWeb/extension-agregore-history/releases/download/v{version}/agregore-history-v{version}.zip"
55
},
66
"agregore-renderer": {
7-
"version": "2.1.1",
7+
"version": "2.1.2",
88
"url": "https://github.com/AgregoreWeb/extension-agregore-renderer/releases/download/v{version}/agregore-renderer-v{version}.zip"
99
},
1010
"agregore-qr-share": {

app/pages/theme/style.css

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,28 @@ html {
1414

1515
body {
1616
padding: 1em;
17+
}
18+
19+
body > p,
20+
body > a,
21+
body > pre,
22+
body > li,
23+
body > ul,
24+
body > table,
25+
body > img,
26+
body > form,
27+
body > iframe,
28+
body > video,
29+
body > audio,
30+
body > h1,
31+
body > h2,
32+
body > h3,
33+
body > h4,
34+
body > h5,
35+
body > h6 {
1736
max-width: var(--ag-theme-max-width);
18-
margin: 0 auto;
37+
margin-left: auto;
38+
margin-right: auto;
1939
}
2040

2141
input, button, textarea, select, select *, option {

0 commit comments

Comments
 (0)