fix: issue #1 button styling

This commit is contained in:
2026-07-06 09:45:43 +02:00
parent a772e3abea
commit c8d2c73a72
27 changed files with 424 additions and 799 deletions

View File

@@ -94,7 +94,7 @@ defmodule BDS.Desktop.ImportShellLiveTest do
assert html =~ "https://legacy.example"
assert html =~ ~s(class="import-stat-cards")
assert html =~ "Macros (1)"
assert html =~ ~s(class="import-execute-btn")
assert html =~ ~s(class="import-execute-btn primary ui-button ui-button-primary")
_html =
view

View File

@@ -446,8 +446,10 @@ defmodule BDS.Desktop.ShellLiveTest do
assert shell_html =~ ~s(class="assistant-sidebar-context flex shrink-0 flex-col gap-2")
assert shell_html =~ ~s(class="assistant-sidebar-prompt min-h-[8rem] w-full resize-y")
assert shell_html =~ ~s(class="assistant-sidebar-start-button ui-button ui-button-primary")
assert shell_html =~ ~s(class="assistant-sidebar-welcome min-h-0 flex-1 overflow-auto")
assert shell_html =~
~s(class="assistant-sidebar-start-button primary ui-button ui-button-primary")
refute shell_html =~ "assistant-sidebar-welcome"
refute shell_html =~ "assistant-card"
assert media_html =~
"class=\"editor-content media-editor grid min-h-0 flex-1 gap-4 overflow-auto p-4 xl:grid-cols-[minmax(320px,1fr)_minmax(0,1.2fr)]\""

View File

@@ -642,7 +642,9 @@ defmodule BDS.UI.ShellTest do
assert css =~ "resize: vertical;"
assert css =~ ".linked-posts-section label {"
assert css =~ "justify-content: space-between;"
assert css =~ ".add-link-btn {"
assert template =~
~s(class="add-link-btn secondary compact ui-button ui-button-secondary ui-button-compact")
assert css =~ "font-size: 11px;"
assert css =~ ".post-picker {"
assert css =~ "max-height: 250px;"