Skip to content

Commit

Permalink
remove focus state from play buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
antiantivirus committed Nov 12, 2024
1 parent 7e5d3c9 commit 75d342b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/livePlayer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ export default function LivePlayer() {
{isOnline && (
<>
<button
className="pl-4 sm:pl-8 pr-3 sm:pr-5 h-full grow-0 focus:outline-none focus:ring-4 flex items-center gap-4"
className="pl-4 sm:pl-8 pr-3 sm:pr-5 h-full grow-0 outline-white flex items-center gap-4"
onClick={isPlaying == 1 ? pause : play}
aria-label={
isPlaying == 1 ? "Pause Live Broadcast" : "Play Live Broadcast"
Expand Down Expand Up @@ -224,7 +224,7 @@ export default function LivePlayer() {
<div className="h-12 sm:h-16 flex items-center flex-1 truncate">
<div className="w-0.5 bg-white h-full !ml-0 hidden lg:block"></div>
<button
className="grow-0 focus:outline-none focus:ring-4 pl-4 sm:pl-8 pr-3 sm:pr-5 lg:px-5 h-full flex gap-4 items-center"
className="grow-0 pl-4 sm:pl-8 pr-3 sm:pr-5 lg:px-5 h-full flex gap-4 items-center"
onClick={isPlaying == 2 ? pause : play2}
aria-label={
isPlaying == 2 ? "Pause Live Broadcast" : "Play Live Broadcast"
Expand Down

0 comments on commit 75d342b

Please sign in to comment.