Skip to content

Commit

Permalink
fix(insights): small tweaks for advanced options in 3000 (#19454)
Browse files Browse the repository at this point in the history
  • Loading branch information
thmsobrmlr authored and fuziontech committed Jan 4, 2024
1 parent 35ff9bf commit f4c6a66
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ export function InsightDisplayConfig(): JSX.Element {
{advancedOptions.length > 0 && (
<LemonMenu items={advancedOptions} closeOnClickInside={false}>
<LemonButton size="small" status="stealth">
<span className="font-medium whitespace-nowrap">
<span className="font-medium whitespace-nowrap ligatures-none">
Options{advancedOptionsCount ? ` (${advancedOptionsCount})` : null}
</span>
</LemonButton>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export function ShowLegendFilter(): JSX.Element | null {
className="p-1 px-2"
onChange={toggleShowLegend}
checked={!!showLegend}
label={<span className="font-normal">{showLegend ? 'Hide' : 'Show'} legend</span>}
label={<span className="font-normal">Show legend</span>}
size="small"
/>
)
Expand Down
4 changes: 4 additions & 0 deletions frontend/src/styles/utilities.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1147,6 +1147,10 @@ $decorations: underline, overline, line-through, no-underline;
font-family: var(--font-mono);
}

.ligatures-none {
font-variant-ligatures: none;
}

.opacity-0 {
opacity: 0;
}
Expand Down

0 comments on commit f4c6a66

Please sign in to comment.