Skip to content

Commit

Permalink
chore: tweak options page padding
Browse files Browse the repository at this point in the history
In particular this should make the page look less squashed on iPhone.
  • Loading branch information
birtles committed Dec 6, 2023
1 parent 2996987 commit 695feca
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/options/OptionsPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export function OptionsPage(props: Props) {

return (
<I18nProvider>
<div class="mx-auto max-w-[780px] px-2">
<div class="mx-auto max-w-[780px] px-6 pt-6">
<GeneralSettings config={props.config} />
<PopupStyleSettings config={props.config} />
<PopupInteractivitySettings config={props.config} />
Expand Down
2 changes: 1 addition & 1 deletion src/options/cosmos.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<title>10ten Japanese Reader options</title>
</head>
<body>
<div id="root"></div>
<div id="root" class="px-6 pt-6"></div>
<!-- SVG assets -->
<svg width="0" height="0" role="presentation">
<defs>
Expand Down
1 change: 1 addition & 0 deletions src/options/options.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
font: message-box;
font-size: 15px;
color: #222426;
margin: 0;
}

@media (max-width: 400px) {
Expand Down

0 comments on commit 695feca

Please sign in to comment.