Skip to content

Commit ae7d632

Browse files
authored
feat(app): fix descender clipping (anomalyco#35950)
1 parent 5cc3a51 commit ae7d632

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎packages/app/src/components/dialog-select-model.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ export function ModelSelectorPopoverV2(props: {
474474
}}
475475
onSelect={() => selectModel(item)}
476476
>
477-
<span class="min-w-0 truncate">{item.name}</span>
477+
<span class="min-w-0 truncate leading-5">{item.name}</span>
478478
<Show when={isFree(item.provider.id, item.cost)}>
479479
<TagV2 class="shrink-0">{language.t("model.tag.free")}</TagV2>
480480
</Show>

‎packages/ui/src/v2/components/button-v2.css‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
font-style: normal;
1515
font-weight: 530;
1616
font-size: 13px;
17-
line-height: 1;
17+
line-height: 20px;
1818
color: var(--v2-text-text-base);
1919
text-shadow: none;
2020
font-variant-numeric: tabular-nums;

0 commit comments

Comments
 (0)