mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 21:13:36 +00:00
settings: Update save button style when "Saved" is shown.
This commit updates the save button style in the settings component to ensure that the button appears as a borderless attention + success intent action button alongside the "Saved" label, when an updated setting is saved.
This commit is contained in:
@@ -19,10 +19,13 @@ mock_esm("../src/loading", {
|
||||
mock_esm("../src/buttons", {
|
||||
show_button_loading_indicator: noop,
|
||||
hide_button_loading_indicator: noop,
|
||||
modify_action_button_style: noop,
|
||||
});
|
||||
mock_esm("../src/scroll_util", {scroll_element_into_container: noop});
|
||||
set_global("document", "document-stub");
|
||||
|
||||
set_global("requestAnimationFrame", (func) => func());
|
||||
|
||||
const settings_account = zrequire("settings_account");
|
||||
const settings_components = zrequire("settings_components");
|
||||
const settings_config = zrequire("settings_config");
|
||||
|
||||
Reference in New Issue
Block a user