Skip to content

Commit

Permalink
style sounds and patterns tab more consistently
Browse files Browse the repository at this point in the history
  • Loading branch information
felixroos committed Dec 8, 2023
1 parent 8dd0e96 commit 31cd626
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions website/src/repl/panel/PatternsTab.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ export function PatternsTab({ context }) {
return (
<div className="px-4 w-full dark:text-white text-stone-900 space-y-4 pb-4">
<section>
<h2 className="text-xl mb-2">Pattern Collection</h2>
<div className="space-x-4 border-b border-foreground mb-2 pb-1">
<div className="px-4 space-x-4 border-b border-foreground mb-2 h-8">
<button
className="hover:opacity-50"
onClick={() => {
Expand Down
6 changes: 3 additions & 3 deletions website/src/repl/panel/SoundsTab.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ export function SoundsTab() {
});
});
return (
<div id="sounds-tab" className="flex flex-col w-full h-full dark:text-white text-stone-900">
<div className="px-2 pb-2 flex-none">
<div id="sounds-tab" className="px-4 flex flex-col w-full h-full dark:text-white text-stone-900">
<div className="pb-2 flex-none">
<ButtonGroup
value={soundsFilter}
onChange={(value) => settingsMap.setKey('soundsFilter', value)}
Expand All @@ -55,7 +55,7 @@ export function SoundsTab() {
}}
></ButtonGroup>
</div>
<div className="p-2 min-h-0 max-h-full grow overflow-auto font-mono text-sm break-normal">
<div className="min-h-0 max-h-full grow overflow-auto font-mono text-sm break-normal">
{soundEntries.map(([name, { data, onTrigger }]) => (
<span
key={name}
Expand Down

0 comments on commit 31cd626

Please sign in to comment.