We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 320b944 commit d5d3e89Copy full SHA for d5d3e89
resources/js/Components/AudioPlayer.vue
@@ -72,14 +72,14 @@ onUnmounted(() => {
72
73
watch(isPlaying, (newVal) => {
74
iconClass.value = newVal ? 'fas fa-pause' : 'fas fa-play';
75
- buttonClass.value = `${newVal ? 'bg-red-500' : 'bg-green-500'} p-1 sm:px-2 sm:py-1`;
+ buttonClass.value = `${newVal ? 'bg-red-500' : 'bg-green-500'}`;
76
});
77
78
watch(currentPlaying, (newVal) => {
79
if (newVal !== audio.value) {
80
isPlaying.value = false;
81
iconClass.value = 'fas fa-play';
82
- buttonClass.value = 'bg-green-500 p-1 sm:px-2 sm:py-1';
+ buttonClass.value = 'bg-green-500';
83
}
84
85
</script>
0 commit comments