diff --git a/lib/bitstyles_phoenix/component/tabs.ex b/lib/bitstyles_phoenix/component/tabs.ex index 183e6c8..18ce98a 100644 --- a/lib/bitstyles_phoenix/component/tabs.ex +++ b/lib/bitstyles_phoenix/component/tabs.ex @@ -40,23 +40,17 @@ defmodule BitstylesPhoenix.Component.Tabs do ''', ''' """ - +
+ + + +
""" ''', transparent: false @@ -76,23 +70,17 @@ defmodule BitstylesPhoenix.Component.Tabs do ''', ''' """ - +
+ + + +
""" ''', transparent: false @@ -112,23 +100,17 @@ defmodule BitstylesPhoenix.Component.Tabs do ''', ''' """ - +
+ + + + Baz + +
""" ''', transparent: false @@ -137,7 +119,7 @@ defmodule BitstylesPhoenix.Component.Tabs do def ui_tabs(assigns) do class = classnames([ - "u-list-none u-flex u-flex-wrap u-items-end a-button--tab-container u-margin-m-bottom", + "u-flex u-flex-wrap u-items-end u-margin-m-bottom u-gap-s2", assigns[:class] ]) @@ -145,19 +127,15 @@ defmodule BitstylesPhoenix.Component.Tabs do assigns = assign(assigns, class: class, extra: extra) ~H""" - + """ end @@ -193,7 +171,7 @@ defmodule BitstylesPhoenix.Component.Tabs do assigns = assign(assigns, extra: Keyword.merge(extra, active)) ~H""" - <.ui_button {@extra} color="tab" shape="tab"> + <.ui_button {@extra} role="tab" color="tab" shape="tab"> <%= render_slot(@inner_block) %> """