Skip to content

Commit

Permalink
Improve Help box layout
Browse files Browse the repository at this point in the history
  • Loading branch information
dalegaard committed Nov 16, 2023
1 parent 22c0f24 commit 5518478
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions beacon_plotter/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ function App() {
</Switch>
<Show when={show_help()}>
<div class="absolute inset-0 flex flex-col justify-center text-black">
<div class="mx-auto container max-w-screen-sm bg-gray-300 rounded-lg p-4">
<div class="mx-auto container max-w-screen-md bg-gray-300 rounded-lg p-4">
<div class="flex flex-row">
<h1 class="text-xl font-bold mb-3 grow">Help</h1>
<button class="border-0" onClick={() => set_show_help(false)}>
Expand All @@ -329,7 +329,7 @@ function App() {
instead.
</p>
<p class="mb-2">The following interactions are available:</p>
<table>
<table class="border-separate">
<tbody>
<tr>
<td class="font-bold">Zoom to selection</td>
Expand Down

0 comments on commit 5518478

Please sign in to comment.