small adjustments

This commit is contained in:
Aoife
2021-04-06 13:44:07 -04:00
parent 6f53e621d6
commit 7424588885
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ function App() {
return false; return false;
}; };
return ( return (
<div className='bg-gray-100 grid grid-cols-6 grid-rows-1 gap-4 h-screen'> <div className='bg-gray-200 grid grid-cols-6 grid-rows-1 gap-4 h-screen'>
<Menu /> <Menu />
<Editor /> <Editor />
</div> </div>
+1 -1
View File
@@ -13,7 +13,7 @@ import { selectById } from './timbreSlice.js';
export default function Timbre(props) { export default function Timbre(props) {
const ids = useSelector((state) => selectById(state, props.id)); const ids = useSelector((state) => selectById(state, props.id));
return ( return (
<div className='h-screen grid grid-cols-8 grid-rows-3 gap-4 p-6'> <div className='h-screen grid grid-cols-8 grid-rows-3 gap-4 p-6 pr-10'>
<VCO <VCO
className='col-span-2' className='col-span-2'
name='VCO 1' name='VCO 1'
+1 -1
View File
@@ -3,7 +3,7 @@ export default function Card(props = { className: 'col-span-2' }) {
<div <div
className={ className={
props.className + props.className +
' flex flex-col justify-start border border-gray-200 rounded-md shadow-md bg-white' ' flex flex-col justify-start border border-gray-300 rounded-md shadow-md bg-white'
}> }>
<header className='flex items-start justify-between py-2 px-4 border-b border-solid border-gray-200'> <header className='flex items-start justify-between py-2 px-4 border-b border-solid border-gray-200'>
<h3 className='pointer-events-none text-xl font-semibold text-gray-900'> <h3 className='pointer-events-none text-xl font-semibold text-gray-900'>
+1 -1
View File
@@ -7,7 +7,7 @@ import { useSelector } from 'react-redux';
export default function Editor() { export default function Editor() {
const activeTab = useSelector((state) => state.parameters.activeTab); const activeTab = useSelector((state) => state.parameters.activeTab);
return ( return (
<div className='col-span-5 overflow-y-scroll overscroll-contain'> <div className='col-span-5 overflow-y-auto overscroll-contain'>
{activeTab === 'Timbre1' ? <Timbre id='timbre1' /> : null} {activeTab === 'Timbre1' ? <Timbre id='timbre1' /> : null}
{activeTab === 'Timbre2' ? <Timbre id='timbre2' /> : null} {activeTab === 'Timbre2' ? <Timbre id='timbre2' /> : null}
{activeTab === 'Vocoder' ? <Vocoder id='vocoder' /> : null} {activeTab === 'Vocoder' ? <Vocoder id='vocoder' /> : null}
+1 -1
View File
@@ -30,7 +30,7 @@ export default function Menu() {
}, [file, dispatch]); }, [file, dispatch]);
return ( return (
<div className='col-span-1 flex flex-col justify-around border-solid border-r border-black bg-white px-4'> <div className='col-span-1 flex flex-col justify-around border-solid border-r border-gray-300 bg-white px-4'>
<div className='menu-patch-container'> <div className='menu-patch-container'>
<div className='patch-name'> <div className='patch-name'>
<input <input