Skip to content

Commit

Permalink
fix mobiles styles for webchuck page
Browse files Browse the repository at this point in the history
  • Loading branch information
terryzfeng committed May 3, 2024
1 parent 3466cbb commit 96bd854
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions cdn/webchuck.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ header {
position: relative;
}

@media (max-width: 640px){
header {
padding-top: 3.5rem;
}
}

h1 {
margin: 0;
font-size: 2em;
Expand Down
4 changes: 2 additions & 2 deletions src/host.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,8 @@ export async function startChuck() {

// Configure Recorder
recordGain = audioContext.createGain();
recordGain.gain.value = .96; // so it doesn't clip
theChuck.connect(recordGain);
recordGain.gain.value = 0.96; // so it doesn't clip
theChuck.connect(recordGain);
Recorder.configureRecorder(audioContext, recordGain);

// Start HID, mouse and keyboard on
Expand Down

0 comments on commit 96bd854

Please sign in to comment.