diff --git a/extern/aurora b/extern/aurora index 77ad549530..0d05404564 160000 --- a/extern/aurora +++ b/extern/aurora @@ -1 +1 @@ -Subproject commit 77ad549530d39d86464b36bcf57798b88f5f3c64 +Subproject commit 0d054045646dbc0033a768243ccc160ab02214c1 diff --git a/res/rml/tabbing.rcss b/res/rml/tabbing.rcss index 894316ff5c..194ca89f05 100644 --- a/res/rml/tabbing.rcss +++ b/res/rml/tabbing.rcss @@ -61,12 +61,10 @@ tab-bar[closable] close { font-family: "Material Symbols Rounded"; font-weight: normal; font-size: 24dp; - line-height: 48dp; - text-align: center; - text-transform: none; color: rgba(224, 219, 200, 70%); backdrop-filter: blur(2dp); border-radius: 6dp; + decorator: text("" center center); transition: color background-color 0.12s linear-in-out; cursor: pointer; } diff --git a/src/dusk/ui/tab_bar.cpp b/src/dusk/ui/tab_bar.cpp index debc6bc992..1a2e74f763 100644 --- a/src/dusk/ui/tab_bar.cpp +++ b/src/dusk/ui/tab_bar.cpp @@ -41,9 +41,7 @@ TabBar::TabBar(Rml::Element* parent, Props props) : FluentComponent(createRoot(parent)), mProps(std::move(props)) { if (mProps.onClose) { mRoot->SetAttribute("closable", ""); - auto& closeButton = - add_child