Skip to content

Commit

Permalink
Fix scroll, again
Browse files Browse the repository at this point in the history
  • Loading branch information
seanpierce committed Feb 9, 2024
1 parent 71630da commit d2cf1bc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/src/components/PlayButton.vue
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<template>
<div>
<button>
<img v-if="!loading"
id="play-button"
:src="playing ? pauseButton : playButton"
@click="toggleLive()"
alt="Intro To Rhythm Live play button">

<Spinner v-if="loading" />
</div>
</button>
</template>

<script>
Expand Down
2 changes: 1 addition & 1 deletion app/src/views/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export default {
methods: {
goDown() {
document.getElementById('chat-wrapper').scrollIntoView();
document.getElementById('chat-wrapper').scrollIntoView({ block: 'end', behavior: 'smooth' });
}
},
Expand Down

0 comments on commit d2cf1bc

Please sign in to comment.