diff --git a/app/api/audioEvents.ts b/app/api/audioEvents.ts index 7baf946..94c3148 100644 --- a/app/api/audioEvents.ts +++ b/app/api/audioEvents.ts @@ -67,13 +67,11 @@ const audioEvents = { // Style scrollbar (this is a workaround for https://github.com/katspaugh/wavesurfer.js/issues/2933) const style = document.createElement('style') style.textContent = `::-webkit-scrollbar { - background: rgba(4, 146, 247, 0.5); height: 18px; } ::-webkit-scrollbar-corner, ::-webkit-scrollbar-track { - border-top: 1px solid rgba(255, 255, 255, 0.15); - background-color: #0a1929; + border-top: 1px solid rgba(128,128,128,.3); } ::-webkit-scrollbar-thumb { @@ -85,6 +83,9 @@ const audioEvents = { }` waveform.getWrapper().appendChild(style) + // add classname value to waveform.getWrapper() + waveform.getWrapper().classList.add('wrapper') + // Update time let [time] = getAudioState[trackId].time() if (!time) { diff --git a/app/api/renderWaveform.tsx b/app/api/renderWaveform.tsx index ea230c8..9c2853b 100644 --- a/app/api/renderWaveform.tsx +++ b/app/api/renderWaveform.tsx @@ -163,7 +163,7 @@ const TrackView = ({ trackId }: { trackId: Track['id'] }) => { const analyzing = analyzingTracks.has(trackId) const containerClass = - 'p-0 border-1 border-divider rounded bg-primary-50 overflow-hidden' + 'p-0 border-1 border-divider rounded bg-default-50 overflow-hidden' return (
{ return ( diff --git a/app/components/layout/Header.tsx b/app/components/layout/Header.tsx index 189348e..f393e8b 100644 --- a/app/components/layout/Header.tsx +++ b/app/components/layout/Header.tsx @@ -5,11 +5,11 @@ import LoginButton from '~/components/layout/LoginButton.client' import Logo from '~/components/layout/MixpointLogo' const Header = () => ( -
+
- +