Skip to content

Commit 4d1eaf1

Browse files
authored
style: Fix filter color and alert icon alignment (#1369)
## Before <img width="493" height="105" alt="Screenshot 2025-11-14 at 2 46 59 PM" src="https://github.com/user-attachments/assets/412ce6ce-7c62-484b-a6d8-b4fd71b8980a" /> ## After <img width="510" height="103" alt="Screenshot 2025-11-14 at 2 46 20 PM" src="https://github.com/user-attachments/assets/a39d7406-c032-4ea3-9508-1e18c9aa18a6" />
1 parent 44a6a08 commit 4d1eaf1

File tree

4 files changed

+13
-4
lines changed

4 files changed

+13
-4
lines changed

.changeset/cuddly-dots-fry.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@hyperdx/app": patch
3+
---
4+
5+
style: Fix filter color and alert icon alignment

packages/app/src/AppNav.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -483,12 +483,12 @@ export default function AppNav({ fixed = false }: { fixed?: boolean }) {
483483
{Array.isArray(savedSearch.alerts) && savedSearch.alerts.length > 0 ? (
484484
savedSearch.alerts.some(a => a.state === AlertState.ALERT) ? (
485485
<i
486-
className="bi bi-bell float-end text-danger"
486+
className="bi bi-bell float-end text-danger ms-1"
487487
title="Has Alerts and is in ALERT state"
488488
></i>
489489
) : (
490490
<i
491-
className="bi bi-bell float-end"
491+
className="bi bi-bell float-end ms-1"
492492
title="Has Alerts and is in OK state"
493493
></i>
494494
)

packages/app/src/components/DBSearchPageFilters.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1034,7 +1034,7 @@ const DBSearchPageFiltersComponent = ({
10341034
withArrow
10351035
label="Only show root spans (spans with no parent span)."
10361036
>
1037-
<Text size="xs" c="gray.3" mt="-1px">
1037+
<Text size="xs" mt="-1px">
10381038
<i className="bi bi-diagram-3"></i> Root Spans Only
10391039
</Text>
10401040
</Tooltip>

packages/app/styles/AppNav.module.scss

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,14 +104,18 @@
104104
text-overflow: ellipsis;
105105
white-space: nowrap;
106106

107-
&:hover {
107+
&:hover {
108108
color: var(--color-text-success);
109109
}
110110

111111
&:focus-visible {
112112
outline: none;
113113
background: var(--color-bg-muted);
114114
}
115+
116+
i {
117+
vertical-align: top;
118+
}
115119
}
116120

117121
.nestedLinkActive {

0 commit comments

Comments
 (0)