mirror of https://github.com/vector-im/riot-web
Merge pull request #4807 from matrix-org/jryans/read-reader-remainder-size-release
Update read receipt remainder for internal font size changepull/21833/head
commit
dabc2abfc6
|
@ -19,7 +19,7 @@ limitations under the License.
|
||||||
|
|
||||||
// converts a pixel value to rem.
|
// converts a pixel value to rem.
|
||||||
export function toRem(pixelValue: number): string {
|
export function toRem(pixelValue: number): string {
|
||||||
return pixelValue / 15 + "rem";
|
return pixelValue / 10 + "rem";
|
||||||
}
|
}
|
||||||
|
|
||||||
export function toPx(pixelValue: number): string {
|
export function toPx(pixelValue: number): string {
|
||||||
|
|
Loading…
Reference in New Issue