Skip to content

Commit

Permalink
Improve player controls styles on focus
Browse files Browse the repository at this point in the history
  • Loading branch information
sgobotta committed Jan 29, 2024
1 parent 3bf5cf6 commit a182663
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions lib/livedj_web/live/player_controls_live.html.heex
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,12 @@
<%!-- Playback Controls --%>
<div class="col-span-6 row-span-1 w-full flex justify-center items-center">
<div class="flex items-center gap-4 h-10">
<a href="#" phx-click="previous" class="cursor-default" tabindex="0">
<a
href="#"
phx-click="previous"
class="cursor-default h-8 w-8 flex justify-center items-center"
tabindex="0"
>
<%= PhoenixInlineSvg.Helpers.svg_image(
LivedjWeb.Endpoint,
"back",
Expand All @@ -68,7 +73,7 @@
<a
href="#"
phx-click={on_pause_click_event()}
class="cursor-default rounded-full"
class="cursor-default rounded-full h-8 w-8 flex justify-center items-center"
tabindex="0"
>
<.icon
Expand All @@ -81,7 +86,7 @@
<a
href="#"
phx-click={on_play_click_event()}
class="cursor-default rounded-full"
class="cursor-default rounded-full h-8 w-8 flex justify-center items-center"
tabindex="0"
>
<.icon
Expand All @@ -90,7 +95,12 @@
/>
</a>
<% end %>
<a href="#" phx-click="next" class="cursor-default" tabindex="0">
<a
href="#"
phx-click="next"
class="cursor-default h-8 w-8 flex justify-center items-center"
tabindex="0"
>
<%= PhoenixInlineSvg.Helpers.svg_image(
LivedjWeb.Endpoint,
"next",
Expand Down

0 comments on commit a182663

Please sign in to comment.