mirror of
https://github.com/we-promise/sure.git
synced 2026-06-01 16:59:03 +00:00
Replace text-tertiary with text-subdued in views (#999)
* Replace text-tertiary with text-subdued in views Replace usages of the text-tertiary utility with text-subdued across several view partials to standardize subdued text styling because text-tertiary does not exist in the design system (reports, doorkeeper auth, simplefin items). Also adjust the net worth empty-liabilities markup to use a grid layout for consistent spacing, and update the related controller test selector to match the new CSS class. * Standardize empty net worth message markup Replace inconsistent markup and classes for empty asset/liability sections in the net worth partial. Swap text-secondary/p-2/text-center for text-subdued with unified padding (py-3 px-4 lg:px-6), and simplify the liabilities block from a grid/div to a single paragraph for consistent styling and spacing.
This commit is contained in:
@@ -158,7 +158,7 @@ class ReportsControllerTest < ActionDispatch::IntegrationTest
|
||||
assert_response :ok
|
||||
|
||||
# Verify spending patterns shows data (not the "no data" message)
|
||||
assert_select ".text-center.py-8.text-tertiary", { text: /No spending data/, count: 0 }, "Should not show 'No spending data' message when transactions exist"
|
||||
assert_select ".text-center.py-8.text-subdued", { text: /No spending data/, count: 0 }, "Should not show 'No spending data' message when transactions exist"
|
||||
end
|
||||
|
||||
test "export transactions with API key authentication" do
|
||||
|
||||
Reference in New Issue
Block a user