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
pull/21833/head
J. Ryan Stinnett 2020-06-22 19:02:03 +01:00
parent 5a310cfd85
commit 38bf1680a2
1 changed files with 1 additions and 1 deletions

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 {