diff --git a/docs/data-quality-checks/unique/examples.md b/docs/data-quality-checks/unique/examples.md index a71edc638e..1ae4a23004 100644 --- a/docs/data-quality-checks/unique/examples.md +++ b/docs/data-quality-checks/unique/examples.md @@ -47,9 +47,9 @@ Three real-world scenarios that show how the Unique check is typically used in p | customer_id | name | email | |-------------|-------------|------------------------| - | 1001 | Alice Cohen | alice@example.com | + | 1001 | Alice Cohen | alice@example.com | | 1002 | Ben Dias | ben@example.com | - | 1001 | Alice C. | alice.c@example.com | + | 1001 | Alice C. | alice.c@example.com | | 1003 | Cara Mota | cara@example.com | **What gets flagged** @@ -129,9 +129,9 @@ Three real-world scenarios that show how the Unique check is typically used in p | order_id | line_number | sku | quantity | |----------|-------------|--------|----------| - | 5001 | 1 | SKU-A | 2 | + | 5001 | 1 | SKU-A | 2 | | 5001 | 2 | SKU-B | 1 | - | 5001 | 1 | SKU-C | 3 | + | 5001 | 1 | SKU-C | 3 | | 5002 | 1 | SKU-A | 1 | **What gets flagged** @@ -216,9 +216,9 @@ Three real-world scenarios that show how the Unique check is typically used in p | user_id | event_type | event_date | event_id | |---------|------------|------------|------------| - | u-77 | login | today | e-001 | + | u-77 | login | today | e-001 | | u-77 | checkout | today | e-002 | - | u-77 | login | today | e-003 | + | u-77 | login | today | e-003 | | u-88 | login | today | e-004 | **What gets flagged** diff --git a/docs/stylesheets/extra.css b/docs/stylesheets/extra.css index acec27b991..83c7b8f776 100644 --- a/docs/stylesheets/extra.css +++ b/docs/stylesheets/extra.css @@ -955,6 +955,19 @@ color: var(--q-brick); } +/* Mirrors the source-records anomalous-cell treatment in the Qualytics app: + orange outline + warning-tinted background on cells whose value failed a check. + Use inside markdown table cells to mark a single value as anomalous. */ +.anomalous-cell { + display: inline-block; + padding: 0.05rem 0.4rem; + border: 1px solid var(--q-orange); + border-radius: 4px; + background-color: rgba(249, 103, 25, 0.12); + color: var(--q-brick); + font-weight: 500; +} + .text-sm { font-size: 0.7rem; }