mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 11:47:23 +03:00
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:
parent
13282bddad
commit
37442b92ae
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue