update role filters overflow
All checks were successful
ci / docker (push) Successful in 4m10s

This commit is contained in:
Álvaro 2024-06-09 13:15:03 +02:00
parent b5e58c4c25
commit fb4fe9d487

View File

@ -30,7 +30,7 @@ defmodule LolAnalyticsWeb.ChampionLive.Components.ChampionFilters do
~H"""
<div>
<div class="flex flex-row overflow-x-auto justify-between">
<div class="flex flex-row overflow-x-scroll sm:overflow-x-auto justify-between">
<%= for role <- @roles do %>
<%= if (assigns.selectedrole == role.value) do %>
<div phx-click="filter" phx-value-role={role.title} class={selected_class}>