Skip to content

Commit 38bf168

Browse files
committed
Update read receipt remainder for internal font size change
In matrix-org#4725, we changed the internal font size from 15 to 10, but the `toRem` function (currently only used for read receipts remainders curiously) was not updated. This updates the function, which restores the remainders. Fixes element-hq/element-web#14127
1 parent 5a310cf commit 38bf168

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/units.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ limitations under the License.
1919

2020
// converts a pixel value to rem.
2121
export function toRem(pixelValue: number): string {
22-
return pixelValue / 15 + "rem";
22+
return pixelValue / 10 + "rem";
2323
}
2424

2525
export function toPx(pixelValue: number): string {

0 commit comments

Comments
 (0)