Update read receipt remainder for internal font size change

In https://github.com/matrix-org/matrix-react-sdk/pull/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 https://github.com/vector-im/riot-web/issues/14127
This commit is contained in:
J. Ryan Stinnett 2020-06-22 19:02:03 +01:00
parent 13282bddad
commit 37442b92ae

View file

@ -19,7 +19,7 @@ limitations under the License.
// converts a pixel value to rem.
export function toRem(pixelValue: number): string {
return pixelValue / 15 + "rem";
return pixelValue / 10 + "rem";
}
export function toPx(pixelValue: number): string {