diff --git a/lib/bds/desktop/shell_live/post_editor_html/post_editor.html.heex b/lib/bds/desktop/shell_live/post_editor_html/post_editor.html.heex index 898e115..4593805 100644 --- a/lib/bds/desktop/shell_live/post_editor_html/post_editor.html.heex +++ b/lib/bds/desktop/shell_live/post_editor_html/post_editor.html.heex @@ -24,7 +24,8 @@ phx-click="toggle_post_editor_quick_actions" phx-value-id={@post_editor.id} > - <%= translated("Quick Actions") %> + + <%= translated("Quick Actions") %> <%= if @post_editor.quick_actions_open? do %> diff --git a/priv/ui/app.css b/priv/ui/app.css index 670dbf3..e06783a 100644 --- a/priv/ui/app.css +++ b/priv/ui/app.css @@ -978,6 +978,11 @@ button svg * { white-space: nowrap; } +.post-editor .quick-actions-btn-icon { + font-size: 12px; + line-height: 1; +} + .post-editor .quick-actions-menu { position: absolute; top: 100%; diff --git a/test/bds/ui/shell_test.exs b/test/bds/ui/shell_test.exs index 6d60d08..c7573a2 100644 --- a/test/bds/ui/shell_test.exs +++ b/test/bds/ui/shell_test.exs @@ -338,9 +338,11 @@ defmodule BDS.UI.ShellTest do live_ex = File.read!("/Users/gb/Projects/bDS2/lib/bds/desktop/shell_live.ex") template = File.read!("/Users/gb/Projects/bDS2/lib/bds/desktop/shell_live/index.html.heex") post_editor_ex = File.read!("/Users/gb/Projects/bDS2/lib/bds/desktop/shell_live/post_editor.ex") + post_template = File.read!("/Users/gb/Projects/bDS2/lib/bds/desktop/shell_live/post_editor_html/post_editor.html.heex") assert template =~ "⚡<\/span>\s*<%= translated\("Quick Actions"\) %><\/span>/s, post_template) refute live_ex =~ "defp update_post_editor(" refute live_ex =~ "defp persist_post_editor("