A free, open source, and extensible speech-to-text application that works completely offline.
fix: center grade chip labels on Windows (#2326)
CJ Paisf81e7e70fb83
diff --git a/src/components/shared/GradeChip.tsx b/src/components/shared/GradeChip.tsxindex 7deb0cdd..86212cdd 100644--- a/src/components/shared/GradeChip.tsx+++ b/src/components/shared/GradeChip.tsx@@ -29,6 +29,7 @@ export const GradeChip: React.FC<GradeChipProps> = ({<spanclassName={`inline-grid place-items-center rounded-chip border font-display leading-none h-[22px] ${dense ? "min-w-[24px] px-[3px] text-tag" : "min-w-[30px] px-[5px] text-small"} ${LETTER_CLASSES[letter]}`}>- {label}+ {/* Trim to cap height so the letter, is centered. */}+ <span className="block [text-box:trim-both_cap_alphabetic]">{label}</span></span>);