Skip to content

Commit

Permalink
feat: Set width and height of main view
Browse files Browse the repository at this point in the history
This makes the view look nice in *both* the preferences panel and the
extension popup. This is achievable by setting a pre-defined width for
the popup and ensuring that the maximum width doesn't exceed the
preferences panel.
  • Loading branch information
donovanglover committed May 2, 2024
1 parent 6240cfb commit eeba1e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const root = document.getElementById('root')
if (root !== null) {
ReactDOM.createRoot(root).render(
<React.StrictMode>
<div className="bg-100 text-700 base16-katy">
<div className="h-96 w-[48rem] max-w-full bg-100 text-700 base16-katy">
<RootPage />
</div>
</React.StrictMode>
Expand Down

0 comments on commit eeba1e2

Please sign in to comment.