Skip to content

Commit

Permalink
hotfix: Remove text_align from Button, Tab and BottomTab
Browse files Browse the repository at this point in the history
  • Loading branch information
marc2332 committed Nov 23, 2024
1 parent c57556c commit 2991c5a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion crates/components/src/button.rs
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,6 @@ pub fn ButtonBase(
border: "{border}",
corner_radius: "{corner_radius}",
background: "{background}",
text_align: "center",
text_height: "disable-least-ascent",
main_align: "center",
cross_align: "center",
Expand Down
2 changes: 0 additions & 2 deletions crates/components/src/tabs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,6 @@ pub fn Tab(
a11y_role:"tab",
color: "{font_theme.color}",
background: "{background}",
text_align: "center",
content: "fit",
rect {
padding: "{padding}",
Expand Down Expand Up @@ -257,7 +256,6 @@ pub fn BottomTab(children: Element, theme: Option<BottomTabThemeWith>) -> Elemen
a11y_role:"tab",
color: "{font_theme.color}",
background: "{background}",
text_align: "center",
padding: "{padding}",
main_align: "center",
cross_align: "center",
Expand Down

0 comments on commit 2991c5a

Please sign in to comment.