Skip to content

Commit

Permalink
whitespace tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewedstrom committed Nov 27, 2023
1 parent 7679fbb commit 429c1cf
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions packages/spa/src/App.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -126,13 +126,13 @@
{
name: 'Widget',
component: Widget,
show: true,
show: true, // Always show the widget
props: { doi: requestedDoi, docmap },
},
{
name: 'Crossref Demo',
component: CrossrefDemo,
show: !providingPlaintextDocmap,
show: !providingPlaintextDocmap, // Only show the crossref demo when we're not providing a docmap via plaintext
props: { json },
},
];
Expand Down Expand Up @@ -168,6 +168,7 @@
<button on:click='{() => fetchData(searchInput)}'>Fetch Docmap</button>
<br>
<span class='toggle-input' on:click='{toggleInputMethod}'>Provide a docmap as text instead</span>

{/if}
<br>

Expand Down Expand Up @@ -226,7 +227,6 @@
border-bottom: 1px solid #dee2e6;
}
.tab {
border: 1px solid transparent;
border-top-left-radius: 0.25rem;
Expand All @@ -251,7 +251,6 @@
border-top: 0;
}
.tab:hover {
background-color: #ddd;
}
Expand Down

0 comments on commit 429c1cf

Please sign in to comment.