Fix UI issues #242

Merged
rafael merged 5 commits from ui-fixes into main 2025-12-03 14:30:15 +01:00
2 changed files with 56 additions and 54 deletions
Showing only changes of commit 366d4c104a - Show all commits

View file

@ -368,6 +368,7 @@ defmodule MvWeb.CoreComponents do
end end
~H""" ~H"""
<div class="overflow-auto">
<table class="table table-zebra"> <table class="table table-zebra">
<thead> <thead>
<tr> <tr>
@ -423,6 +424,7 @@ defmodule MvWeb.CoreComponents do
</tr> </tr>
</tbody> </tbody>
</table> </table>
</div>
""" """
end end

View file

@ -19,7 +19,7 @@ defmodule MvWeb.Components.SortHeaderComponent do
@impl true @impl true
def render(assigns) do def render(assigns) do
~H""" ~H"""
<div class="tooltip" data-tip={aria_sort(@field, @sort_field, @sort_order)}> <div class="tooltip tooltip-bottom" data-tip={aria_sort(@field, @sort_field, @sort_order)}>
<button <button
type="button" type="button"
aria-label={aria_sort(@field, @sort_field, @sort_order)} aria-label={aria_sort(@field, @sort_field, @sort_order)}