mirror of
https://github.com/fleetdm/fleet
synced 2026-04-21 21:47:20 +00:00
## For #28822 - Enable searching the teams dropdown - Ensure right-scrolling per usual text input fields when search text is long - Ensure neighboring elements are not moved when search text is long  - [x] Changes file added for user-visible changes in `changes/` - [x] Manual QA for all new/changed functionality --------- Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
6 lines
164 B
TypeScript
6 lines
164 B
TypeScript
const pxToRem = (px: number): string => {
|
|
const baseSize = 16; // Assuming the base font size is 16px
|
|
return `${px / baseSize}rem`;
|
|
};
|
|
|
|
export default pxToRem;
|