Merge pull request #491 from tidalcycles/refactor-react
react style fixes
This commit is contained in:
commit
df35a5c9b1
2 changed files with 3 additions and 4 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@strudel.cycles/react",
|
||||
"version": "0.6.3",
|
||||
"version": "0.6.4",
|
||||
"description": "React components for strudel",
|
||||
"main": "src/index.js",
|
||||
"publishConfig": {
|
||||
|
|
|
|||
|
|
@ -142,9 +142,8 @@ export function MiniRepl({
|
|||
</button>
|
||||
<button
|
||||
className={cx(
|
||||
isDirty
|
||||
? 'cursor-pointer w-16 flex items-center justify-center p-1 text-foreground bg-lineHighlight hover:bg-background'
|
||||
: 'w-16 flex items-center justify-center p-1 opacity-50 cursor-not-allowed bg-lineHighlight',
|
||||
'w-16 flex items-center justify-center p-1 text-foreground border-lineHighlight bg-lineHighlight',
|
||||
isDirty ? 'text-foreground hover:bg-background cursor-pointer' : 'opacity-50 cursor-not-allowed',
|
||||
)}
|
||||
onClick={() => activateCode()}
|
||||
>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue