diff --git a/res/rml/overlay.rcss b/res/rml/overlay.rcss index 20e084665b..8927e1a01c 100644 --- a/res/rml/overlay.rcss +++ b/res/rml/overlay.rcss @@ -58,6 +58,10 @@ toast:active { background-color: rgba(45, 43, 26, 80%); }*/ +b { + font-weight: bold; +} + toast heading { display: flex; gap: 18dp; diff --git a/src/dusk/ui/overlay.cpp b/src/dusk/ui/overlay.cpp index c9b2b8614d..2ec47e6215 100644 --- a/src/dusk/ui/overlay.cpp +++ b/src/dusk/ui/overlay.cpp @@ -147,7 +147,7 @@ Rml::String back_button_name() { #if defined(TARGET_ANDROID) || (defined(__APPLE__) && TARGET_OS_IOS && !TARGET_OS_MACCATALYST) constexpr auto kMenuNotificationPrefix = "3-finger tap or"; #else -constexpr auto kMenuNotificationPrefix = "Press F1 or"; +constexpr auto kMenuNotificationPrefix = "Press F1 or"; #endif Rml::Element* create_menu_notification(Rml::Element* parent) { @@ -169,7 +169,7 @@ Rml::Element* create_menu_notification(Rml::Element* parent) { append(row, "span")->SetInnerRML(kMenuNotificationPrefix); auto* icon = append(row, "icon"); icon->SetClass("controller", true); - append(row, "span")->SetInnerRML(escape(padButton)); + append(row, "span")->SetInnerRML("" + escape(padButton) + ""); append(row, "span")->SetInnerRML("to open menu"); return elem;